Tuesday, 28 August 2007

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