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.
You might also like to view...
The taskbar's ____ icon lets you quickly adjust the sound level emitted by your computer's speakers.
A. Speaker B. Volume C. Internet Access D. Calculator
Indicate whether the statement is true or false
____ records are those on the many side of a relationship that do not have a match on the one side.
A. indexed B. split C. unlicensed D. orphan
A BindingNavigator control displays table data in a row and column format, similar to a spreadsheet.
Answer the following statement true (T) or false (F)