The C programming language provides many standard library functions for file input and output . BUFSIZ, An integer which is the size of the buffer used by the setbuf () function. FILENAME_MAX, The size of a char array which is large enough.
C Programming. File handling using open (), read (), write () and close () The previous examples of file handling deal with File Control Blocks (FCB).
The C library function int fputc(int char, FILE *stream) writes a character (an unsigned char) specified by the argument char to the specified stream and advances.