Contents

Which of the following stream object is used to display output on screen?
a) cout  
b) cin     
c) cinput               
d) coi

a

Which header file must be included in program to perform input/output operations?
a) iostream.h                      
b) fiostream.h
c) ofstream.h                       
d) ifstream.h

a

How many objects can be used in one cout object?
a) one                                    
b) two
c) many                                
d) none of these

c

The escape sequence in C++ are …….. characters.
a) printing                             
b) non-printing
c) logical                                               
d) roman

b

Which escape sequence can be used to begin a new line?
a) \a       
b) \b                       
c) \m                      
d) \n

d

Which escape sequence can be used to beep from speaker from C++?
a) \a       
b) \b                       
c) \m                      
d) \n

a