Write a Program to display all ASCII characters

#include <stdio.h>
#include <conio.h>

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

1 comment:

Related Post

Array:
String functions:
General (Loops-for/while)
Write a Program to print reverse of a given number Write a Program to print Product of Digits (eg. 212=2*1*2=4) of a given number Write a C++ Program to Convert Binary into Decimal Number