Monday, January 2, 2012

ASCII values printing on CONSOLE

/*program for printing ASCII values*/

#include

void main()
{
int x;
char p;
clrscr();
printf("ASCII values\n");
x=1;
while(x<=255)
{
printf("%d--%c\t",x,x);
x++;
}

getch();
}

No comments:

Post a Comment