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

  • (A) <ifstream>
  • (B) <ofstream>
  • (C) <fstream>
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (C) <fstream>
Explanation: To perform processing on C++ files, the header files <iostream> and <fstream> must be included in your C++ source file.
Explanation by: Dharmendra Sir
To perform processing on C++ files, the header files <iostream> and <fstream> must be included in your C++ source file.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
237
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Dharmendra Sir
Publisher
πŸ“ˆ
88%
Success Rate