//find ASCII value of a character
#include<stdio.h>
int main()
{
char c;
printf("Please enter a character: ");
scanf("%c", &c);
//%d integer value of the character
//%c shows the actual character
printf("The ASCII value of %c = %d", c, c);
return 0;
}