#include main() { char ch; clrscr(); printf("Enter a character: "); scanf("%c",&ch); printf("The ascii value of %c is %d",ch,ch); getch(); }