Vidyalelo
C++ Programming · Q11

File Handling in C++

Programming · C++ Programming · question 11

Q11

How do you check if the end of a file has been reached in C++?

A.
file.end_of_file()
B.
endOfFile(file)
C.
file.eof()
Answer
D.
eof(file)

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board