Skip to main content

Simple Program to Print All ASCII Value Table in C Programming

1 min read
Share:
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;
}

Learn the concept first, then study the code:

Related Tutorials

Search tutorials