Professional Documents
Culture Documents
Ascii Value
Ascii Value
Ascii Value
given character.
Code –
#include<stdio.h>
int main()
{
char ch;
printf ("enter a charcter=");
scanf("%C",&ch);
printf ("the ascii value of ch:
%d",ch);
}
Output –