Default mode depends on compiler for opening file - File Handling
Q. If we have object from fstream class, then what is the default mode of opening the file?- Published on 17 Jul 15a. ios::in|ios::out
b. ios::in|ios::out|ios::trunc
c. ios::in|ios::trunc
d. Default mode depends on compiler
ANSWER: Default mode depends on compiler