Multiple Choice
Which of the following is the correct way to close a file stream named outFile?
A) outFile.close) ;
B) outFile.close;
C) outFile.close"project.txt") ;
D) closeoutFile) ;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q41: We have a file that has a
Q42: The member function setf stands for<br>A) set
Q43: What character will be in variable c
Q44: Which function returns true if the character
Q45: ios::showpos is a flag that<br>A) always displays
Q47: If the user types in the characters
Q48: Which of the following is not used
Q49: The command outFile.precision2);<br>A) truncates all floating point
Q50: Which include directive is necessary for file
Q51: Two different objects of the same class