Do we have private destructors?

Answer Posted / shakti singh khinchi

U can't instantiate instance of that class.

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is setbase c++?

813


How static variables and local variablesare similar and dissimilar?

780


Why is null pointer used?

881


What gives the current position of the put pointer?

746


Explain the advantages of using friend classes.

822


Can a constructor be private?

799


What are the uses of pointers?

769


What does it mean to declare a member function as static?

798


Explain stack & heap objects?

808


What is an associative container in c++?

751


How a new operator differs from the operator new?

866


How do you add an element to a set in c++?

733


Which field is used in c++?

815


Distinguish between new and malloc and delete and free().

751


What is a dangling pointer in c++?

844