We can output text to an object of class ostream using the insertion operator<< because
A. the ostream class is a stream
B. the insertion operator works with all classes.
C. we are actually outputting to cout.
D. the insertion operator is overloaded in ostream.
Answer:D
We can output text to an object of class ostream using the insertion operator<< because
A. the ostream class is a stream B. the insertion operator works with all classes. C. we are actually outputting to cout. D. the insertion operator is overloaded in ostream.