Answer Posted / murali
Yes we can. But you can't use it.
Use new to create the object.
At the same time you can't use delete.
Why can't : As destuctor uses 'this' context and in this
case it can't being static.
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
Difference between Abstraction and encapsulation in C++?
program explaining feautures of c++
What are the differences between java and c++?
Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes
What are features of c++?
Evaulate: 22%5 a) 2 b) 4 c) 0
Can I learn c++ in a week?
What are manipulators in c++ with example?
What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack
What is virtual destructor? What is its use?
Can we use pointers in c++?
Explain how to initialize a const data member.
What is the difference between reference and pointer?
What is c++ runtime?
Explain how an exception handler is defined and invoked in a Program.