Ascii
Char Range | Dec Range
a-z 97 - 122
A-Z 65 - 90
0-9 48 - 57
PrashantUnity
Char Range | Dec Range
a-z 97 - 122
A-Z 65 - 90
0-9 48 - 57
// ASCII => American Standard Code for Information Interchange
#include <stdio.h>
int main()
{
char chr;
printf("Enter a character: ");
scanf("%c", &chr);
\\ When %c is used, a character is displayed
printf("You entered %c.\n",chr);
\\ When %d is used, ASCII value is displayed
printf("ASCII value is %d.",chr);
return 0;
}
aswin
ASCII_TABLE