Skip to content
Related Articles

Related Articles

Improve Article
C | File Handling | Question 3
  • Difficulty Level : Easy
  • Last Updated : 27 Mar, 2014

getc() returns EOF when
(A) End of files is reached
(B) When getc() fails to read a character
(C) Both of the above
(D) None of the above


Answer: (C)

Explanation: See EOF, getc() and feof() in C

Quiz of this Question

Want to learn from the best curated videos and practice problems, check out the C Foundation Course for Basic to Advanced C.
My Personal Notes arrow_drop_up
Recommended Articles
Page :