Saturday, 8 October 2011

ASCII in C

//ASCII : American Standard Code for Information Interchange//




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




Note: Observe the all ASCII and their symbol carefully after executing the program. You will be very happy to know about ASCII 9 10 11 12.

No comments:

Post a Comment