Contents

What does a stream refer to?
a) flow of data    
b) flow of control
c) Input                                 
d) Output

a

Which of the following is stream insertion operator?
a) >                        
b) >>      
c) <<      
d) <

b

Which of the following is stream extraction operator?
a) >                        
b) >>      
c) <<                      
d) <

b

The cin object is followed by…operator on right side.
a) relational (>)   
b) stream insertion (<<)
c) stream extraction (>>) 
d) arithmetic (+)

c

The cout object is followed by ,…….. operator on right side.
a) relational (>) 
b) stream insertion (<<)
c) stream extraction (>>)
d) 
arithmetic (+)

b

Which of the following stream object is used to get input from keyboard?
a) cout  
b) cin     
c) cinput               
d) coi

b