Do we have private destructors?

Answer Posted / vishwa

we cannot say it destructors are not private. because for
empty class if we use delete operator then it is going to
delete the destructor which is private.

Is This Answer Correct ?    0 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the array and initializing arrays in c++?

695


Is c++ a pure oop language?

800


why is c++ called oops? Explain

777


What is the difference between global variables and static varables?

790


Write bites in Turbo c++ Header ("Include") Files.

908






Why do we use the using declaration?

880


What is using namespace std in cpp?

738


What are the uses of c++ in the real world?

749


Please explain class & object in c++?

756


What is the use of ::(scope resolution operator)?

811


Am pass the 10000 records to target in target I will take commit interval 15000 when I was stop the work flow what will happened

1325


What are punctuators in c++?

851


Which ide is best for c++?

738


What are c++ storage classes?

785


Explain unexpected() function?

791