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

What are maps in c++?

492


Does c++ cost money?

572


How the keyword struct is different from the keyword class in c++?

576


Is C++ case sensitive a) False b) Depends on implementation c) True

608


What are pointer-to-members? Explain.

620






Explain what are the sizes and ranges of the basic c++ data types?

631


Explain deep copy?

598


In a function declaration, what does extern mean?

632


What is flush c++?

529


Is it possible for the objects to read and write themselves?

634


What is type of 'this' pointer? Explain when it is get created?

580


What is &x in c++?

552


Why is polymorphism useful?

559


Explain what is polymorphism in c++?

621


Is python better than c++?

575