Vidyalelo
C++ Programming · Q859

C++ miscellaneous

Programming · C++ Programming · question 859

Q859

What will happen if an exception that is thrown may cause a whole load of objects to go out of scope?

A.
Terminate the program
B.
Produce a runtime error
C.
It will be added to the overhead
Answer
D.
Compilation error

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board