If the name of the input file was in a variable named filename, which of the following is the correct way to open the input stream named inFile and associate it with this file?
A) inFile.openfilename) ;
B) inFile=filename;
C) inFile="filename";
D) inFile.open"filename") ;
Correct Answer:
Verified
Q33: A function that is associated with an
Q34: "\n" is a _ and '\n' is
Q35: In order to read data from a
Q36: Which of the following is not used
Q37: The command outFile.precision2);
A) truncates all floating point
Q39: Which of the following is the correct
Q40: The _ function puts one character back
Q41: The get function reads
A) one integer value
B)
Q42: In order to use the stream manipulators,
Q43: The command outFile.width10) is used to
A) change
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