int main() { char c;
printf("Enter a character: "); c = getchar();
printf("You entered: %c", c);
return 0; }