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?
Discussion:
35 comments Page 1 of 4.
Kicha said:
6 years ago
iostream means both cin and cout, istream means only cin and ostream mean the only cout so ostream is correct.
(15)
Vishal Gupta said:
2 years ago
Iostreme is the correct answer.
(4)
ABHISHEK KUMAR JHA said:
1 year ago
I think iostream is the right answer.
(2)
Subhash Kumar said:
2 years ago
The cout object is defined in the iostream class.
(1)
Rohan said:
2 years ago
According to me, ostream is correct.
(1)
Jyoti said:
5 years ago
Agree, C is the correct answer.
(1)
Jiya said:
8 years ago
The iostream can be used for both cin and cout but asking in question only cout so ans is ostream.
(1)
KUMARI said:
10 years ago
ifstream is input file stream class.
Ashok said:
10 years ago
Explain about ifstream?
Preet said:
9 years ago
Hi, iostream is the correct answer. Briefly, explain ostream and why the answer is ostream?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers