If the name of a file to open is in the string variable name fileName, which of the following will correctly open the file for output?
A) out_file.openfileName) ;
B) out_file.open"fileName") ;
C) fileName.openoutfile) ;
D) out_file.openfileName.c_str) ) ;
Correct Answer:
Verified
Q45: What is the value of numbers.size) after
Q46: Which is the proper way to determine
Q47: What is the proper way to declare
Q48: Which assignment statements will copy the value
Q49: What is wrong with the following code
Q51: How can you assign the value "toaster"
Q52: If you want to read into a
Q53: Which of the following would correctly read
Q54: To add an element to a vector
Q55: Which of the following returns the fourth
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