Computer Science · Object Oriented Programming in C++
Match the file mode parameters in C++ (LIST-I) with their meanings (LIST-II): LIST-I (file mode parameters) A. ios::ate B. ios::in C. ios::nocreate D. ios::noreplace LIST-II (Meaning) I. Go to the end of the file on opening II. Open fails if the file already exists III. Open file for reading only IV. Open fails if the file does not exist
- 1A-III, B-IV, C-II, D-I
- 2A-I, B-III, C-II, D-IV
- 3A-II, B-IV, C-I, D-III
- 4A-I, B-III, C-IV, D-II✓
Correct answer
A-I, B-III, C-IV, D-II
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Object Oriented Programming in C++?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Object Oriented Programming in C++