Which of the following is the default mode of the opening using the fstream class?
(a) ios::in
(b) ios::out
(c) ios::in|ios::out
(d) ios::trunc
This question was posed to me during an online interview.
The origin of the question is File Handling topic in chapter Strings, Streams & Numerics in C++ of C++