Do we have private destructors?

Answer Posted / pooja

no we do not have private destructors because the
destructors can be declared only in public access
specifier.

Is This Answer Correct ?    1 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is polymorphism useful?

569


Explain bubble sorting.

628


What is the type of 'this' pointer?

605


Explain about templates of C++.

678


What is a dll entry point?

563






What is operator overloading in c++ example?

654


What is meant by the term name mangling in c++?

524


Define friend function.

570


How can I disable the "echo" feature?

611


Is c++ a good first language to learn?

578


How a pointer differs from a reference?

694


If a function doesn’t return a value, how do you declare the function?

618


Write about the scope resolution operator?

618


What is c++ good for?

589


What are pointers used for c++?

573