What does the seekg() function do in C++ file handling?
A. Sets the get position pointer
B. Sets the put position pointer
C. Sets the end of file pointer
D. Sets the beginning of file pointer
Answer: Option A
A. Sets the get position pointer
B. Sets the put position pointer
C. Sets the end of file pointer
D. Sets the beginning of file pointer
Answer: Option A
Which header file is required for file handling in C++?
A. <iostream>
B. <fstream>
C. <file>
D. <filestream>
Join The Discussion