Getchar C.
#include <stdio.h>
int getchar(void);
Beautiful Bison
#include <stdio.h>
int getchar(void);
#include <stdio.h>
int main () {
char c;
printf("Enter character: ");
c = getchar();
printf("Character entered: ");
putchar(c);
return(0);
}