aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • C++ File Handling
  • Normally a file is opened with positioning the cursor at ...
Multiple choice

Normally a file is opened with positioning the cursor at the beginning of the file. But which mode opens the file by positioning the cursor at the end of file?

  1. ate

  2. app

  3. end

  4. aen

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

The open mode “ate” is used to open the file by position the file pointer at the end of file. 

Keep practicing — related questions

  • 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 file modes opens the file in such a way that all the new data is added to the end of...
  • Which of the following mode of fopen() function opens a file only for writing. If a file with that name doe...
  • Which of the following mode of fopen() function opens a file only for writing. If a file with that name doe...
  • Opening a file in ios::out mode also opens it in the __________ mode by default.
  • Consider the following C++ code: textfile.open(sample.dat, ios::in); Where is the get pointer placed after ...
  • What is the mode in which you will OPEN a file for writing?
  • Which of the following program codes is correct for opening a file in append mode that sets the write point...
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Computer File Systems (1249 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy