Simple Program to Print All ASCII Value Table in C Programming
On this page (2sections)
About this program
This is an example program in simple example programs. Read the concept first: Hello World - Simple C Program, then study the code and output below.
/*##Simple Program to Print All ASCII Value Table in C Programming*/
/*##Simple Print Programs,ASCII Chart C Programming*/
#include <stdio.h>
int main() {
// Declare Variables
int i = 0;
char ch;
//Print ASCII Values
for (i = 33; i < 256; i++) {
printf("%d : %c ",i,ch);
ch = ch + 1;
}
return 0;
}
Related Pages
Learn the concept first, then study the code:
- C Programs — Browse all C Programs.
- Hello World - Simple C Program — Tutorial — your first C program explained line by line.
- Hello World C Language Example Program — More in simple example programs.
- If Statement Example Program In C Programming Language — More in simple example programs.