C Code 26 _ To find the ASCII Value of the given character
Program:
#include<stdio.h>
int main()
{
char
ch;
printf("\n\nASCII
table has 128 characters with values from 0 t0 127");
printf("\n\nEnter
a character to find its ASCII value : ");
scanf("%c",&ch);
printf("\n\nThe
ASCII Value of %c is %d",ch,ch);
return
0;
}
Output:
Thank You ...
0 comments: