putchar is a function in the C programming language that writes a single character to the standard output stream, stdout.[1] Its prototype is as follows:
int putchar (int character)
The character to be printed is fed into the function as an argument, and if the writing is successful, the argument character is returned.