You are on page 1of 2

0uFSTl0t 17_WAP to printf all the A8C

values and their equivalent characters


using a While loop . The A8C values vary
from 0 to 255 ?

S0luTl0t

#incIude<stdio.h>
#incIude<conio.h>
void main()
{
int num=0;
cIrscr();
whiIe(num<=255)
{
printf(" \n ascii=%d character=%c
",num,num);
num++;
}
getch();
return 0;
}

You might also like