ExamVeda
Login
Home
21
What happens if an exception is thrown inside a 'catch' block in C++?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
22
How do you re-throw the current exception in C++?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
23
Which of the following statements about exception handling in C++ is correct?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
24
What is the purpose of the 'std::exception_ptr' class in C++ exception handling?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
25
How do you catch multiple exceptions of different types in C++?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
26
Which keyword is used to define a custom exception class in C++?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
27
What is the purpose of the 'std::terminate' function in C++?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
28
What is the purpose of the 'nothrow' parameter in the 'new' operator in C++?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
29
How do you handle exceptions thrown from constructor initialization lists in C++?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
30
What is the purpose of the 'std::bad_function_call' class in C++ exception handling?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board