C++ Programming - OOPS Concepts - Discussion

Discussion Forum : OOPS Concepts - General Questions (Q.No. 25)
25.
Which of the following operator is overloaded for object cout?
>>
<<
+
=
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
13 comments Page 1 of 2.

Khusboo said:   1 decade ago
Is cout an object?

Manisha said:   1 decade ago
Yes, cout is an object.

It is the object of ostream class.

Bhavani said:   1 decade ago
cout is an output stream operator.

Pooja Sawant said:   1 decade ago
<< is operator for object cout.

Suman said:   1 decade ago
I hope cout is an operator.

Jaswant Meena said:   10 years ago
cout is an object of iostream (input output stream) and << a method of cout object.

PAWAN KUMAR RAM said:   10 years ago
Yes, cout is object of iostream library used << (insertion or put to) operator.

Deepu kumar said:   9 years ago
I hope cout is an object of iostream (input output stream) and << a method of cout object.

Hemant said:   9 years ago
We use >> in cin and << use in cout.

Karthikeyan said:   8 years ago
We use extraction operator (<<) for the object (cout) of output stream. So this is the operator that gets used. Hence the answer is <<.


Post your comments here:

Your comments will be displayed after verification.