Q. Which function checks the end-of-file indicator for the given stream in C?

  • (A) eof()
  • (B) EOF
  • (C) feof()
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (C) feof()
Explanation: The C library function feof() checks the end-of-file indicator for the given stream.

Syntax:

int feof(FILE *stream);
Explanation by: Team MCQ Buddy
The C library function feof() checks the end-of-file indicator for the given stream.

Syntax:

int feof(FILE *stream);

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
231
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Team MCQ Buddy
Publisher
πŸ“ˆ
89%
Success Rate