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 flag in c++?
How can you quickly find the number of elements stored in a a) static array b) dynamic array ? Why is it difficult to store linked list in an array?how can you find the nodes with repetetive data in a linked list?
What is the basic difference between C and C++?
What do you mean by storage classes?
Can I run c program in turbo c++?
What is this pointer in c++?
what Is DCS ? what i will get benefit when i did?
why is c++ called oops? Explain
What do you mean by ‘void’ return type?
Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers
Specify some guidelines that should be followed while overloading operators?
can any one help to find a specific string between html tags
which is changed to a sting..
weather.html looks (for location) is
What can I safely assume about the initial values of variables which are not explicitly initialized? What is #include c++? What are c++ storage classes?