counter

Free Hit Counter

C program to print ascii values

Q:program to print all the ascii values and their equivalent characters using a while loop


#include
#include
#include
void main ()
{
int i=0;
clrscr();
while(i<=255)
{
printf("%d:%c\t",i,i);
i++;
}

getch();

}

No comments:

Post a Comment