Question Detail How to get position n bytes forward in fileObject ? fileObject.seekg( ios::cur, n );fileObject.seekg( n, ios:cur );fileObject.seekg( n, ios::cur );fileObject.seekg( ios:cur, n ); Answer: Option C Ad Similar Questions : 1. Which stream class is to only write on files ? ofstreamifstreamfstreamiostream Answer: Option A 2. Which among following is used to open a file in binary mode ? ios:appios::outios::inios::binary Answer: Option DExplanation:ios:app -> All output operations are performed at the end of the file, appending the content to the current content of the file. ios::out -> Open for output operations. ios::in -> Open for input operations. 3. eof() is used to get easy code reivewend of filedebug reportfile close Answer: Option B 4. How to get position n bytes forward in fileObject ? fileObject.seekg( ios::cur, n );fileObject.seekg( n, ios:cur );fileObject.seekg( n, ios::cur );fileObject.seekg( ios:cur, n ); Answer: Option C 5. What is use of eof() ? Returns true if a file open for reading has reached the next character.Returns true if a file open for reading has reached the next word.Returns true if a file open for reading has reached the end.Returns true if a file open for reading has reached the middle. Answer: Option C Read more from - C++ File Handling Questions Answers