Which of the following stream, data can be read and write to files character by character?
a) single character stream
b) double character stream
c) both a & b
d) none of these
Which function is used to read data character by character into files?
a) getche ()
b) get ()
c) put ()
d) string ()
Which function is used to write data character by character into files?
a) getche ()
b) get ()
c) put ()
d) string ()
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
Which function writes the content of stream to physical device?
a) int flush()
b) void flush()
c) flush()
d) none of these
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 ()