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.
C++
C++ Quiz
Start Quiz

or Read more about C++ Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback