Skip to main content

ASCII

 //C program to print ASCII of any Character.
#include<stdio.h>
int main()
{
char c;
printf("Enter any charater: ");
scanf("%c", &c);
printf("ASCII value of %c = %d", c, c);
return 0;
}