C Program to print ASCII value of given character

C Program to print ASCII value of given character



#include
#include
void main()
{
char ch;
clrscr();
printf("please enter any character");
scanf("%c",&ch);
printf("The ASCII Value =%d",ch);
getch();
}


No comments:

Post a Comment