Vidyalelo
C++ Programming · Q36

File Handling in C++

Programming · C++ Programming · question 36

Q36

In C++, how do you check if a file operation has reached the end of the file?

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

Answer: Option A

Solution

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