Do we have private destructors?

Answers were Sorted based on User's Feedback



Do we have private destructors?..

Answer / deepak

No we can not have private destructor

Is This Answer Correct ?    0 Yes 12 No

Do we have private destructors?..

Answer / jack

No we cannot have private destructors and private
constructors.........

Is This Answer Correct ?    4 Yes 23 No

Post New Answer

More C++ General Interview Questions

What is the error in the code below and how should it be corrected?

0 Answers  


What is the difference between object-oriented programming and procedural programming?

0 Answers  


Can I learn c++ without c?

0 Answers  


What are keywords in c++?

0 Answers  


Can I run c program in turbo c++?

0 Answers  






Is c better than c++?

0 Answers  


Write a program to find the Fibonacci series recursively.

0 Answers   Huawei,


Write any small program that will compile in "C" but not in "C++"

10 Answers   Honeywell,


What is c++ flowchart?

0 Answers  


What is the topic of the C++ FAQ list?

1 Answers  


I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.

0 Answers  


How a modifier is similar to mutator?

0 Answers  


Categories