Q35
What happens if an exception is thrown inside a destructor in C++?
A.
It leads to undefined behavior
AnswerB.
It is automatically caught and handled
C.
It causes the program to crash
D.
It is logged to a file
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board