Solved

Given a Class a That Derives from a Class B

Question 5

Multiple Choice

Given a class A that derives from a class B that derives from a class C, when an object of class A goes out of scope, in which order are the destructors called?


A) C, B, then A
B) A, B, then C
C) unable to determine
D) depends on how the code is written for the destructors

Correct Answer:

verifed

Verified

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

Related Questions