Question Detail Which functions allow to change the location of the get and put positions ? sg() and sp()sekg() and sekp()gog() and gop()seekg() and seekp() Answer: Option D Similar Questions : 1. How to find the position at end of fileObject ? fileObject.seekg( 0, ios::end );fileObject.seekg( 0, ios::end );fileObject.seekg( 0, ios::end );fileObject.seekg( 0, ios::end ); Answer: Option A 2. Which functions allow to change the location of the get and put positions ? sg() and sp()sekg() and sekp()gog() and gop()seekg() and seekp() Answer: Option D 3. Which among following is correct syntax of closing a file in c++ ? myfile$close();myfile@close();myfile:close();myfile.close(); Answer: Option D 4. Which stream class is used to both read and write on files ? ofstreamifstreamfstreamiostream Answer: Option C 5. Which among is used for positioning relative to the beginning of a stream ? ios::startios::begios::beginios::beginning Answer: Option B Read more from - C++ File Handling Questions Answers