A file stream, fStr, is open and attached to physical file.txt. To reset this file stream so that the file can be read again starting at the first line requires
a) “File stream fStr, reset yourself to the start of the file.”
b) Calling the reset() member function using fStr as the calling object but with
no argument.
c) With calling object fStr call close()then call open( ) with argument
“fStr”.
d) Only calling the member function open() using fStr as the calling object with
the “file.txt” as argument.
e) None of the above. You can’t reread lines of a file that have already been read.
c) With calling object fStr call close()then call open( ) with argument
“fStr”.
You might also like to view...
A logical address is which of the following?
a. MAC address b. Router interface address c. Network address d. The ARP address
All of the following are types of snips that the Snipping Tool can capture EXCEPT:
A) Full-screen Snip B) Rectangular Snip C) Circle Snip D) Free-form Snip
A(n) ____________________ is a program that replicates itself, but does not necessarily infect other programs.
Fill in the blank(s) with the appropriate word(s).
A semicolon is placed on the end of a method heading following the parameter list.
Answer the following statement true (T) or false (F)