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 c strings syntax?
Write bites in Turbo c++ Header ("Include") Files.
What is #include sstream?
Where can I run c++ program?
Difference between overloaded functions and overridden functions
Keyword mean in declaration?
What are the differences between new and malloc?
What is an adaptor class or wrapper class in c++?
What is auto type c++?
What is atoi?
Assume an array of structure is in order by studentID field of the record, where student IDs go from 101 to 500. Write the most efficient pseudocode algorithm you can to find the record with a specific studentID if every single student ID from 101 to 500 is used and the array has 400 elements. Write the most efficient pseudocode algorithm you can to find a record with a studentID near the end of the IDs, say in the range from 450 to 500, if not every single student ID in the range of 101 to 500 is used and the array size is only 300
What is a memory leak c++?
What are the rules for naming an identifier?
Is swift faster than c++?
When is dynamic checking necessary?