Which among the following is true?
(a) A class may have virtual destructor but not virtual constructor
(b) A class may have virtual constructor but not virtual destructor
(c) A class may have virtual constructor and virtual constructor
(d) A class may have either virtual destructor or virtual constructor
I had been asked this question at a job interview.
My query is from Virtual Functions topic in portion Member Functions & its Types of Object Oriented Programming