Do we have private destructors?

Answer Posted / vaibhav meena

We can have Private Destructor and by using Friend Function
we can also instantiate it. :)

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an adjust field format flag?

631


I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?

1569


How would perform Pattern Matching in C++?

638


Define macro.

567


What are the two shift operators and what are their functions?

547






What is the benefit of c++?

581


How many types of modularization are there in c++?

549


Is java made in c++?

573


What are manipulators in c++ with example?

565


What is an inclusion guard?

604


What is the difference between reference and pointer?

604


What are multiple inheritances (virtual inheritance)?

565


What is the use of seekg in c++?

584


How would you use the functions sin(), pow(), sqrt()?

730


How do you differentiate between overloading the prefix and postfix increments?

574