Computer Science, asked by sayalidoshi315, 4 days ago

Explain fputc( ) and fgetc( ) function. ​

Answers

Answered by triplets3
2

Answer:

fputc() is used to write a single character at a time to a given file. It writes the given character at the position denoted by the file pointer and then advances the file pointer. This function returns the character that is written in case of successful write operation else in case of error EOF is returned.

Similar questions