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 3 of 4.
Nazir hussain said:
9 years ago
iostream is used for both cin and cout.
Mehak bhangale said:
9 years ago
The iostream is used for both cin and cout.
Lata said:
9 years ago
The iostream is use for both cin and cout.
Dhoni fan said:
8 years ago
Iostream can be used for both cin and cout.
Khushbh said:
8 years ago
Ostream is never used.
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)
Dhiraj Hargode said:
7 years ago
Actually they ask for object not for header file ao in iostream header file two different objects are there for different purposes ostream for cout and itream for cin purpose.
Sachin kumar said:
7 years ago
According to me, iostream is correct.
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)
Jyoti said:
5 years ago
Agree, C is the correct answer.
(1)
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers