Assuming dataFile is a file stream object, the following statement:

dataFile.close();

a. is illegal in C++
b. needs a filename argument to execute cor-rectly
c. closes a file
d. is legal but risks losing valuable data
e. None of these

c. closes a file

Computer Science & Information Technology

You might also like to view...

String indexers treat strings as:

a) binary code b) ASCII code c) arrays of characters d) a character

Computer Science & Information Technology

Which of the following security concepts would Sara, the security administrator, use to mitigate the risk of data loss?

A. Record time offset B. Clean desk policy C. Cloud computing D. Routine log review

Computer Science & Information Technology