Multiple Choice
Assuming dataFile is a file stream object, the following statement:
DataFile.close() ;
A) is illegal in C++
B) needs a filename argument to execute correctly
C) closes a file
D) is legal but risks losing valuable data
E) None of these
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q41: If you want a user to enter
Q42: To write read data from a file,
Q43: A while loop is somewhat limited because
Q44: Something within a while loop must eventually
Q45: You may define a _ in the
Q47: What will the following code display?<br>Int number
Q48: The increment and decrement operators can be
Q49: A loop that is inside another loop
Q50: In C++ 11 you can pass a
Q51: The scope of a variable declared in