Which of the following statements opens a file and links it to a file stream object?
A) open(aFile) = link(anObject) ;
B) file.open("filename.txt") ;
C) linkstream("filename.txt") ;
D) link(open("filename.txt") ;
E) None of these
Correct Answer:
Verified
Q5: Data stored _ disappears once the program
Q6: When passing a file stream object to
Q7: When you store data in a variable,
Q8: If a file already exists, you can
Q9: The ios::hardfail bit is set when an
Q11: Which of the following is the data
Q12: Only one file stream object can be
Q13: The ios::out flag causes the file's existing
Q14: By default, files are opened in binary
Q15: The setprecision manipulator cannot be used to
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