A

Admin • 833K Points
Coach

Q. To perform file-based I/O operations, you must use the __________.

  • (A) <ifstream>
  • (B) <ofstream>
  • (C) <fstream>
  • (D) None of the above
  • Correct Answer - Option(C)
  • Views: 28
  • Filed under category C++
  • Hashtags:

Explanation by: Admin

To perform processing on C++ files, the header files <iostream> and <fstream> must be included in your C++ source file.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.