putc
function
The putc
function prints out a character on
the specified file stream.
#include <stdio.h> int putc(int c, FILE *stream);
Here c
is the character to be written, stored
as an integer. The second argument is the file where the character is
going to be printed. If an error occurs, putc
returns
EOF
; otherwise, the function returns the written
character.