Best collection of C programs
Tuesday, January 4, 2011
ASCII CODE - 0 TO 255
WAP TO PRINT ASCII CODE FROM
0 TO 255
void main ()
{
int i=0,count=0;
clrscr ();
for(i=0;i<=255;i++)
{
if (count>24)
{count=0;getch();}
else
{printf("%d=%c\n",i,i);
count++;}
}
getch ();
}
Click on image to enlarge it
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment