aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • C++ Programming
  • Which of the following modes of the open() function in C+...
Multiple choice

Which of the following modes of the open() function in C++ file handling defines that all the output to the file is to be appended to the end?

  1. ios::in

  2. ios::out

  3. ios::ate

  4. ios::app

  5. None of these

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

This mode defines that all output to the file is to be appended to the end.

Keep practicing — related questions

  • Which of the following file modes is used in file handling, if an already existing file is to be opened for...
  • Which of the following program codes is correct for opening a file in append mode that sets the write point...
  • Which of the following is not a file mode parameter used with open() function?
  • The ____________ file mode is used in C++ to write all the data at the end of the file.
  • Which of the following file modes is used in C++ if the user has to turn down opening when the file already...
  • If you want to open a file from initial position to the end of file, then which of the following modes is u...
  • Which of the following is the default mode for a open() member function of fstream class?
  • Which of the following is the invalid open mode of a file in C++?
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy