Which function is used to set the position of the file pointer in C++ file handling?
A. seekg()
B. seekp()
C. file.setpos()
D. setpos()
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