Home » C++ Programming » Questions and Answers » Question
  1. Which of the following header files is required for creating and reading data files?
    1. ifstream.h
    2. ofstream.h
    3. console.h
    4. fstream.h
    5. None of these
Correct Option: D

In this fstream.h header file is used for accessing the files only.



Your comments will be displayed only after manual approval.