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
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
Related Questions on File Handling in C plus plus
Which header file is required for file handling in C++?
A. <iostream>
B. <fstream>
C. <file>
D. <filestream>

Join The Discussion