C++ Programming Questions


Q.  If we have object from ofstream class, then default mode of opening the file is _____ .

a. ios::in
b. ios::out
c. ios::in|ios::trunc
d. ios::out|ios::trunk



 
 

    Discussion

Post your comment / Share knowledge