getchar() is used to read a character from keyboard and store this character into a memory location .you have to press enter key after typing a character .
the syantax is show on below .
char varname = getchar();
putchar() is used to display a character store in the memory location on the screen.
printf(“enter one letter terminated by enter key”);
enter one character m