T

Team MCQ Buddy • 15.42K Points
Tutor I

Q. What is the value of EOF in C?

  • (A) -1
  • (B) 0
  • (C) 1
  • (D) NULL

Explanation by: Team MCQ Buddy
The EOF stands for End of File which is a Macro defined in stdio.h header file. With the GNU C Library, EOF is -1. In other libraries, its value may be some other negative number.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics