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
Who made c++?
What does std mean in c++?
What does return 0 do in c++?
Write about the various sections of the executable image?
What are signs of manipulation?
What is c++ code?
What is ios :: in in c++?
Can member functions be private?
Describe exception handling concept with an example?
Can I have a reference as a data member of a class? If yes, then how do I initialise it?
What is the difference between strcpy() and strncpy()?
What is the latest c++ standard?
What is different in C++, compare with unix?
What are the types of pointer?
what is C++ objects?