Solved

If a Program Throws an Exception Before Delete Has Been

Question 13

Multiple Choice

If a program throws an exception before delete has been called on a pointer, it creates a memory leak. After an exception is thrown, a(n) ________ destructor will still be called, which calls delete on the pointer for you.


A) reference's
B) inherited
C) smart pointer's
D) virtual

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions