Answer Posted / dee
delete "this" lead in calling the destructor twice.
"this" poanter is related to object and the destructor is
called when the object goes out of scope.
| Is This Answer Correct ? | 2 Yes | 6 No |
Post New Answer View All Answers
In c++, what is the difference between method overloading and method overriding?
How can I learn dev c++ programming?
Can you use the function fprintf() to display the output on the screen?
Why c++ is better than c language?
What happens when the extern "c" char func (char*,waste) executes?
Is python better than c++?
What is the use of 'this' pointer?
Is the declaration of a class its interface or its implementation?
What is function overriding in c++?
What is #include iostream in c++?
Show the declaration for a pointer to function returning long and taking an integer parameter.
Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;
Refer to a name of class or function that is defined within a namespace?
What language is a dll written in?
How to tokenize a string in c++?