Which of the following statements are correct?
1. It is not possible to combine two or more file opening mode in open() method.
2. It is possible to combine two or more file opening mode in open() method.
3. ios::in and ios::out are input and output file opening mode respectively.
A. 1, 3
B. 2, 3
C. 3 only
D. 1, 2
Answer: Option B
Related Questions on File Handling in C plus plus
Which header file is required for file handling in C++?
A. <iostream>
B. <fstream>
C. <file>
D. <filestream>

Join The Discussion