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
What is the difference between prefix and postfix versions of operator++()?
Is c++ a software?
What is the cout in c++?
Is java made in c++?
Why is c++ still used?
which one is equivalent to multiplying by 2:Left shifting a number by 1 or Left shifting an unsigned int or char by 1?
Is java a c++?
Define whitespace in C++.
Describe the process of creation and destruction of a derived class object?
What are the uses of static class data?
How the endl and setw manipulator works?
What are shallow and deep copy?
Can we use struct in c++?
What is the best way to declare and define global variables?
Which bit wise operator is suitable for turning off a particular bit in a number?