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