Skip to content
Related Articles

Related Articles

C | File Handling | Question 3

View Discussion
Improve Article
Save Article
  • Difficulty Level : Easy
  • Last Updated : 28 Jun, 2021

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

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!