Q23
In C++, how do you check if a file has reached the end while reading?
A.
file.eof()
AnswerB.
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