Multiple choice

Which class is the base class for all the input/output stream classes?

  1. istream

  2. ostream

  3. iostream

  4. ios

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The input/output system starts with the base class ios. The istream and ostream are the derived classes of ios.