Q. What is the value of EOF in C?
β
Correct Answer: (A)
-1
Explanation: 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.