Which of the following is the default mode of the opening using the ifstream class?
A. ios::in
B. ios::out
C. ios::app
D. ios::trunc
Answer: Option A
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