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 15

a. 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

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)