when can we use virtual destructor?

Answer Posted / neeraj tyagi

I agreed with Pradeep's answer:)

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the operation of overloading of an assignment operator.

880


What is the difference between method overloading and method overriding in c++?

752


What is the difference between a template and a macro?

772


How is computer programming useful in real life?

765


What is helper in c++?

807






Describe linkages and types of linkages?

755


List the advantages of inheritance.

855


How do you declare a set in c++?

713


How to demonstrate the use of a variable?

817


Describe public access specifiers?

775


What is pointer to array in c++?

793


What is buffering in c++?

784


What is null c++?

803


What kind of jobs can I get with c++?

796


If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?

790