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.

Anju kumari said:   4 years ago
The cout is an object of ofstream.

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

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

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

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

Deepu kumar said:   9 years ago
I hope 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.

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

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

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


Post your comments here:

Your comments will be displayed after verification.