Asked by
haley harris
on Dec 18, 2024Verified
The functions fgetc() and fgets() return the named constant EOF when the marker is detected.
Fgetc()
A function in C programming used to read and return the next character from a specified file, advancing the file position.
Fgets()
A function in C programming used to read a string from a file or input stream, terminating at a newline character or EOF.
- Understand the methodology behind opening and closing file streams in C programming.
Verified Answer
DS
Learning Objectives
- Understand the methodology behind opening and closing file streams in C programming.