getchar/putchar
The function getchar reads one character from the standard input, and the function putchar writes one charater to the standard output. The function getchar returns the character code or the value EOF when end of file is reached.
Examples:
c = getchar();
putchar(d);