Vidyalelo
C++ Programming · Q22

File Handling in C++

Programming · C++ Programming · question 22

Q22

What is the purpose of the ios::ate flag in C++ file handling?

A.
Sets the get position pointer at the beginning of the file
B.
Sets the get position pointer at the end of the file
Answer
C.
Sets the get position pointer at the current position in the file
D.
Sets the get position pointer to the specified position in the file

Answer: Option B

Solution

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