Solved

If the Name of a File to Open Is in the String

Question 57

Multiple Choice

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions