C++ Programming - OOPS Concepts - Discussion

Discussion Forum : OOPS Concepts - General Questions (Q.No. 12)
12.
cout is a/an __________ .
operator
function
object
macro
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
52 comments Page 6 of 6.

Ved prakash said:   5 years ago
cout is an object of class ostream that represents the standard output stream. So the class is ostream and object is cout.
(1)

Sagar nale said:   3 years ago
Yes, cout is an object of the class ostream, and ostream is a class not cout thus cout is an object of the class ostream.
(4)


Post your comments here:

Your comments will be displayed after verification.