📚 Question Bank Q59 — Programming and Data Structure
Tags
Programming and Data Structure
Q59. Marks: +2.0 UGC NET Paper 2: Computer Science 2nd January 2026 Shift 1

Match the LIST-I with LIST-II

  LIST-I (file mode parameters)   LIST-II (Meaning)
A. ios::ate I. Go to end of file on opening
B. ios::in II. Open fails if the file already exists.
C. ios::nocreate III. Open file for reading only
D. ios::noreplace IV. Open fails if the file does not exist.

Choose the correct answer from the options given below:

1.A-III, B-IV, C-II, D-I
2.A-I, B-III, C-II, D-IV
3.A-II, B-IV, C-I, D-III
4.A-I, B-III, C-IV, D-II ✓ Correct
📄 All “Programming and Data Structure” questions across papers
🏷 Change Tag for this Question