Ubisoft interview question

Why do you have to use virtual destructor :D

Interview Answers

Anonymous

26 Sept 2016

Because your constructor used the base class so you must use the destructor that matches despite the declaration of using a subclass?

1

Anonymous

9 Sept 2015

Because you'll lose your leg otherwise.