Print the all ASCII values(0-256) using for loop.
Click here to open this program in Turbo C++
/**********************************************************
Statement - Print All ASCII Values
Programmer - Vineet Choudhary
Written For - http://developerinsider.co
**********************************************************/
#include<stdio.h>
#include<conio.h>
void main()
{
int i = 0;
char ch;
clrscr();
for (i = 0; i < 256; i++)
{
printf("%c ",ch);
ch = ch + 1;
}
getch();
}