054. Write a program to print out ASCII chart on a single screen (all 256 characters from 0 to 255) in a tabular form. The ASCII code should be followed by the corresponding character in C language

 
#include<stdio.h>
#include<conio.h>
main()
{
 int i;
 clrscr();
 for(i=0;i<=255;i++)
	printf("%d-%c\t",i,i);
 getch();
}

Leave a Reply

Your email address will not be published. Required fields are marked *