Solved

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

Question 4

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents