Skip to content
Quiz · Memory and Smart Pointers · lesson 3 of 12

Quiz — virtual destructor

Why do base classes need a virtual destructor, and what happens without one?