Question 107Asked in BPSC TRE 1.0 (2023) Computer Science Class 11-12

Which of the following statements is/are correct? 1. It is not possible to combine two or more files opening mode in open( ) method.

Which of the following statements is/are correct? 1. It is not possible to combine two or more files opening mode in open( ) method. 2. It is possible to combine two or more files opening mode in open( ) method. 3. ios::in and ios::out are input and output file opening modes respectively.
  1. A1, 3
  2. B2, 3
  3. C3 only
  4. DMore than one of the above
  5. ENone of the above
Show answerHide answer

Correct answer: (D) More than one of the above

Explanation

Official BPSC final answer key: (D). Note: by the usual reading only statements 2 and 3 are correct, i.e. option (B).

From BPSC TRE 1.0 (2023) Computer Science Class 11-12 — Previous Year Paper

This is question 107 of BPSC TRE 1.0 (2023) Computer Science Class 11-12 — Previous Year Paper. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.