Contents

Which function is used to read data character by character into files?
a) getche ()                  
b) get ()
c) put ()                       
d) string ()

b

Which function is used to write data character by character into files?
a) getche ()                  
b) get ()
c) put ()                                   
d) string ()

c

Which of the following stream reads input from or writes output to associated string is called?
a) if stream                  
b) of stream
c) fstream                    
d) string stream

d

Which of the following function reads string from file and display result on screen?
a) getline ()                 
b) get ()
c) put ()                       
d) string ()

a

Which function write the content f stream to physical device?
a) int flush()                
b) void flush()
c) flush()                                 
d) none of these

b

Which of the following function return integer as -1 when end of file?
a) int read()                 
b) void read()
c) void readbyte()        
d) int readbyte ()

d