Multiple choice

Which of the following stream classes is used in C++ to perform input and output operations on to a data file?

  1. istream

  2. ostream

  3. ifstream

  4. ofstream

  5. fstream

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

This stream class is used in C++ to perform input and output operations on to a data file.