Which of the following is the default mode of the opening using the ofstream class?
(a) ios::in
(b) ios::out
(c) ios::app
(d) ios::trunc
The question was posed to me during an interview for a job.
My question is based upon File Handling topic in division Strings, Streams & Numerics in C++ of C++