Can destructors be virtual?
Explanation
Every destructor down gets called no matter what. virtual makes sure it starts at the top instead of the middle. Read more at this stackoverflow answer.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
C++ quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes