Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.
Base Class Destructor
A. the base class destructor calls the virtual function of the base class and not of the derived class.
B. the base class destructor calls the virtual function override of the derived class through th vtable.
C. the C++ compiler maintains the overridden virtual function pointers in a separate structure when it sees the call in a destructor. The call is then resolved through this structure.
D. the base class destructor cannot call the virtual function override of the derived class because the derived class portion of the data may be in an undefined state.
E. the language does not permit calling a virtual function override in either a constructor or the destructor of the base class.
Profile Answers by joeychen Questions by joeychen
Questions by joeychen
Related Answered Questions
Related Open Questions