C++ Programming - OOPS Concepts - Discussion

Discussion :: OOPS Concepts - General Questions (Q.No.25)

25. 

Which of the following operator is overloaded for object cout?

[A]. >>
[B]. <<
[C]. +
[D]. =

Answer: Option B

Explanation:

No answer description available for this question.

Khusboo said: (May 5, 2013)  
Is cout an object?

Manisha said: (May 30, 2013)  
Yes, cout is an object.

It is the object of ostream class.

Bhavani said: (Aug 21, 2013)  
cout is an output stream operator.

Pooja Sawant said: (Dec 2, 2013)  
<< is operator for object cout.

Suman said: (Nov 13, 2014)  
I hope cout is an operator.

Jaswant Meena said: (Dec 15, 2014)  
cout is an object of iostream (input output stream) and << a method of cout object.

Pawan Kumar Ram said: (May 9, 2015)  
Yes, cout is object of iostream library used << (insertion or put to) operator.

Deepu Kumar said: (Jul 16, 2015)  
I hope cout is an object of iostream (input output stream) and << a method of cout object.

Hemant said: (Oct 28, 2015)  
We use >> in cin and << use in cout.

Karthikeyan said: (Mar 7, 2017)  
We use extraction operator (<<) for the object (cout) of output stream. So this is the operator that gets used. Hence the answer is <<.

Sukhveer'S said: (Apr 10, 2018)  
It's << insertion not extraction operator @Karthikeyan.

Fuad said: (Nov 1, 2018)  
What is means by cout? Please explain.

Anju Kumari said: (Oct 19, 2020)  
The cout is an object of ofstream.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.