#include
main()
{
int num;
printf("Printing ASCII values Table...\n\n");
num = 1;
while(num<=255)
{
printf("\nValue:%d = ASCII Character:%c", num, num);

/*This change has been made as per the comment. Thank you anonymous Blog Viewer ... */
num++;
}
printf("\n\nEND\n");
}

Comments (1)

On February 23, 2011 at 9:52 AM , Aashik Manandhar said...

Program to print all the ASCII values characters using a while loop. The ASCII values from 0 to 255.

 

CSS Menu Samples