In C++ cout is:
a) object
b) class
c) something else
Answer Posted / chandra
cout is an object of class ostream that represents the
standard output stream. It corresponds to the cstdio stream
stdout.
By default, most systems have their standard output set to
the console, where text messages are shown, although this
can generally be redirected.
Because cout is an object of class ostream, we can write
characters to it either as formatted data using for example
the insertion operator (ostream::operator<<) or as
unformatted data using the write member function
| Is This Answer Correct ? | 21 Yes | 1 No |
Post New Answer View All Answers
What is namespace std; and what is consists of?
What is a syntax in c++?
Is c++ still being used?
What is the purpose of the "delete" operator?
How are the features of c++ different from c?
What apps are written in c++?
What flag means?
Is c++ slower than c?
How do I write a c++ program?
Describe the process of creation and destruction of a derived class object?
What is overloading unary operator?
What is the best c c++ compiler for windows?
How would you use the functions sin(), pow(), sqrt()?
How do you traverse a btree in backward in-order?
What is purpose of abstract class?