C++ Programming - OOPS Concepts - Discussion

Discussion Forum : OOPS Concepts - General Questions (Q.No. 26)
26.
Which of the following is the correct class of the object cout?
iostream
istream
ostream
ifstream
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
35 comments Page 2 of 4.

Khushbh said:   8 years ago
Ostream is never used.

Dhoni fan said:   8 years ago
Iostream can be used for both cin and cout.

Lata said:   9 years ago
The iostream is use for both cin and cout.

Mehak bhangale said:   9 years ago
The iostream is used for both cin and cout.

Nazir hussain said:   9 years ago
iostream is used for both cin and cout.

Preet said:   9 years ago
Hi, iostream is the correct answer. Briefly, explain ostream and why the answer is ostream?

KUMARI said:   10 years ago
ifstream is input file stream class.

Ashok said:   10 years ago
Explain about ifstream?

Arpita said:   10 years ago
Here as asked in the question the correct class of cout not for cout an cin.

So the correct one is ostream if it is asked cin and cout both then it is iostream.

Sailee shazmeen said:   1 decade ago
We also confuse about iostream and ostream.


Post your comments here:

Your comments will be displayed after verification.