Computer Science - Object Oriented Programming Using C++ - Discussion

Discussion Forum : Object Oriented Programming Using C++ - Section 1 (Q.No. 43)
43.
To use either an input or output file, the program must include the _____ header file
filestream.h
fstream.h
instream.h
inoutstream.h
iostream.h
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
5 comments Page 1 of 1.

Lakshyajit said:   1 decade ago
iostream.h is for input and output stream that are use to communicate different files (devices). But here say that input and output "File", so Filestream i.e. istream.h is used.

Anand said:   1 decade ago
The question talks about input or output file --- "FILE"--- that's why answer is fstream.

Yashifa khan said:   1 decade ago
Think so, iostream is used. Because i for input, o for output.

Pravalika said:   1 decade ago
How you can you say fstream.h? I think it is iostream.h.

Vimallohani said:   1 decade ago
For what iostream is use?

Post your comments here:

Your comments will be displayed after verification.