After a stream is opened, before it is used for input and output, it should be
A) declared
B) closed
C) checked to see if it opened correctly
D) none of the above
Correct Answer:
Verified
Q21: In the following function declaration, the istream
Q22: Which of the following is the correct
Q23: To open a file with a user
Q24: Which include directive is necessary for file
Q25: If a file did not open correctly,
Q27: Which statement correctly opens an input stream
Q28: The member function setf stands for
A) set
Q29: To open an output file and add
Q30: The member function eof) is true/false) when
Q31: When is the external name of the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents