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
What is a syntax in c++?
Where the memory to the static variables is allocated?
Describe private, protected and public?
What do you mean by inheritance in c++? Explain its types.
What are proxy objects in c++?
What programming language should I learn first?
What are the advantages of using pointers in a program?
Can I uninstall microsoft c++ redistributable?
What language does google use?
If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3
What are the two shift operators and what are their functions?
Explain deep copy and a shallow copy?
Write a program in c++ to print the numbers from n to n2 except 5 and its multiples
What is the difference between multiple and multilevel inheritance in c++?
Can a constructor be private?