Contents

Which of the following mode flag perform all operation mode?
a) ios:: out                   
b) ios:: in
c) ios:: app                  
d) ios:: ate

c

Which of the following mode flag is used for truncated and replace by new one?
a) ios:: out                   
b) ios:: trunc
c) ios:: binary              
d) ios:: ate

b

Which of the following is not used as a file opening mode?
a) ios:: out                   
b) ios:: in
c) ios:: trunc               
d) ios:: ate

c

Which of the following class is used for ios::out mode operator?
a) of stream                
b) ifstream
c) fstream                    
d) none of these

a

Which of the following class is used for ios::in mode operator?
a) of stream                 
b) ifstream
c) fstream                    
d) none of these

b

Which of the following class is used for ios::out |ios:: in mode operator?
a) of stream                 
b) ifstream
c) fstream                   
d) none of these

c