We can output text to an object of class ofstream using the insertion operator « because
A. the ofstream 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 ofstream
Answer: Option D

Join The Discussion