Which class is primarily used for performing input operations on files in C++? 

  • ofstream 
  • ifstream 
  • fstream 
  • filestream
The ifstream class stands for input file stream and is primarily used for performing input operations on files. This means it is used for reading data from files, making it crucial for file handling in C++.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *