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);
d. fileObject.seekg(8, ios::end);
Computer Science & Information Technology
You might also like to view...
PDF is sometimes referred to as a _____ format because once a document has been converted to a PDF, it cannot be edited.
A. fixed-layout B. flexible-layout C. template D. fixed
Computer Science & Information Technology
What file transfer protocol uses UDP port 69, and does not use user names and passwords?
A. FTP B. Web browsing C. e-mail D. TFTP
Computer Science & Information Technology
How many characters are in the empty string?
a. -1 b. 1 c. undefined d. 0
Computer Science & Information Technology
A multipage form displays the data from underlying table or query on ________
Fill in the blank(s) with correct word
Computer Science & Information Technology