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.

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 <<.

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

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.

Sukhveer's said:   7 years ago
It's << insertion not extraction operator @Karthikeyan.

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

It is the object of ostream class.

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

Fuad said:   6 years ago
What is means by cout? Please explain.

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

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


Post your comments here:

Your comments will be displayed after verification.