Which of the following stream is used to output file stream and is used to create and write file?
a) if stream
b) of stream
c) fstream
d) none of these
Which of the following stream is used for input file stream and used for reading information from files?
a) if stream
b) of stream
c) fstream
d) none of these
Which of the following statement read 5 characters from a file?
a) f. read();
b) f. read(5);
c) f. reads(5);
d) none of these
Which of the following stream is used for file stream generally?
a) if stream
b) of stream
c) fstream
d) none of these
Use of stream
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