Multiple Choice
Assuming dataFile is a file stream object, the 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
Q6: string objects have a member function named
Q22: The while loop has two important parts:
Q26: This statement may be used to stop
Q30: In a for statement, this expression is
Q36: If you place a semicolon after the
Q40: What will the following code display?<br>int number
Q43: A while loop is somewhat limited because
Q47: What will the following code display?<br>Int number
Q53: What will the following code display?<br>int number
Q56: The condition that is tested by a