Explore topic-wise MCQs in C++ (MCQ) questions and answers.

This section includes 1 Mcqs, each offering curated multiple-choice questions to sharpen your C++ (MCQ) questions and answers knowledge and support exam preparation. Choose a topic below to get started.

1.

Which of the following statements are true about Catch handler?1. It must be placed immediately after try block T.2. It can have multiple parameters.3. There must be only one catch handler for every try block.4. There can be multiple catch handler for a try block T.5. Generic catch handler can be placed anywhere after try block.

A. Only 1, 4, 5
B. Only 1, 2, 3
C. Only 1, 4
D. Only 1, 2
Answer» D. Only 1, 2