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?
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.
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:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers