Which of the following are ostream instances?
Awesome. cout
, cerr
and clog
are all instances of the class ostream as they all output data.
No sorry. cout
, cerr
and clog
are all instances of the class ostream as they all output data. cin
is of the class istream, as it inputs data