InterviewSolution
Saved Bookmarks
| 1. |
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::truncThis 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++ |
|
Answer» The CORRECT choice is (c) ios::in|ios::out |
|