Which of the following is the correct way to determine if a file stream named inFile opened correctly?
A) if inFile.open) )
B) if inFile.fail) )
C) if inFile.opened) )
D) if inFile.failed) )
Correct Answer:
Verified
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
Q38: If the name of the input file
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
Q44: What character will be in variable c
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