Solved

Which of the Following Will Not Change the File-Position Pointer

Question 18

Multiple Choice

Which of the following will not change the file-position pointer to the same position as the others? Assume a 10-byte file size and a current position at byte # 1.


A) fileObject.seekg(2) ;
B) fileObject.seekg(1, ios::cur) ;
C) fileObject.seekg(2, ios::beg) ;
D) fileObject.seekg(8, ios::end) ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions