Home > Electronics Tutorials > C Language Tutorial > stdio.h - Character I/O Functions - fputc

C Language Programming Library Reference Guide

stdio.h - Character I/O Functions - fputc

Declaration: int fputc(int char, FILE *stream); Writes a character (an unsigned char) specified by the argument char to the specified stream and advances the position indicator for the stream.

On success the character is returned. If an error occurs, the error indicator for the stream is set and EOF is returned.

Note: To report broken links or to submit your projects, tutorials please email to Webmaster

Discover

     more......