//WRITE A PROGRAME TO DISPLAY THE ASCII VALUE OF ANY CHARACTR;
//WAP To Display The ASCII Value Of Any Character
# include<stdio.h>
#include<conio.h>
void main()
{
char ch;
clrscr();
printf("\n Enter Any Character ");
scanf("%c" , &ch);
printf("\n %c" , ch);
printf("\n ASCII Value =%d" , ch);
getch();
}
Comments
Post a Comment