Which of the following positions the file pointer for a file that has been opened for reading and writing?

a) Use the size() member function on the file stream to position the file pointer.
b) Use the seekp(arg) fstream member function with the number of records
(counting the first record as 0) as argument to position the file pointer.
c) Use the seekp(arg) fstream member function with the number of bytes to
the record in question (counting the first byte as 0) as argument to position the file
pointer.
d) Use the sizeof operator to determine the number of bytes in the file stream.

c) Use the seekp(arg) fstream member function with the number of bytes to
the record in question (counting the first byte as 0) as argument to position the file
pointer.

Computer Science & Information Technology

You might also like to view...

A(n) _____ PC typically has a programmable remote control for control of all components

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which type of analog modulation changes the number of waves representing one cycle?

A. amplitude modulation B. frequency modulation C. phase modulation D. relative modulation

Computer Science & Information Technology