Do we have private destructors?
Answers were Sorted based on User's Feedback
Answer / jack
No we cannot have private destructors and private
constructors.........
Is This Answer Correct ? | 4 Yes | 23 No |
What is the error in the code below and how should it be corrected?
What is the difference between object-oriented programming and procedural programming?
Can I learn c++ without c?
What are keywords in c++?
Can I run c program in turbo c++?
Is c better than c++?
Write a program to find the Fibonacci series recursively.
Write any small program that will compile in "C" but not in "C++"
What is c++ flowchart?
What is the topic of the C++ FAQ list?
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.
How a modifier is similar to mutator?