#include int main() { char ch; printf("Enter character: "); scanf("%c", &ch); printf("Ascii value of %c is %d\n", ch, ch); }