Cpp File Handling Questions

Interview Questions
  1. Home
  2. Tutorials
  3. Cpp
  4. File Handling
  5. Questions

Define eof function in C++.

Define open() method in file handling.

Write down syntax of opening file in C++ using fstream object.

List down file opening modes.

Write down common file handling methods used in C++.

List down advantages of file handling in C++.

Difference between ate and app file modes.

Define close() method in file handling.

Comments
Login to TRACK of Comments.