Which statement opens a file and links it to a file stream object?
A) open(aFile) = link(anObject) ;
B) file.open("c:\\filename.txt") ;
C) linkstream("filename.txt") ;
D) link(open(filename.txt") ) ;
E) None of these
Correct Answer:
Verified
Q13: This state bit can be tested to
Q14: Outside of a C++ program, a file
Q15: This data type can be used to
Q16: When data is read from a file,
Q18: To set up a file to perform
Q20: This data type can be used to
Q22: An alternative to using the open member
Q25: Closing a file causes any unsaved information
Q36: ofstream, ifstream, and fstream are
A) header files
B)
Q38: The end-of-file marker is automatically written
A) when
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