cppreference.com > Standard C I/O > putchar
putchar
Syntax:
  #include <stdio.h>
  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.