411 REFERENCE · Wikibooks
C++ Programming/Code/Standard C Library/Functions/putchar
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
putchar
#include <cstdio>
int putchar( int ch );
The putchar() function writes ch to stdout. The code
putchar( ch );
is the same as
putc( ch, stdout );
The return value of putchar() is the written character, or EOF if there is an error.
Related topics putc