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
Explain the difference between c & c++?
How do you clear a buffer in c++?
Can you overload the operator+ for short integers?
Why is c++ difficult?
In a function declaration what does extern means?
Which is the best c++ compiler for beginners?
Define macro.
What is singleton pattern in c++?
Do you know what are pure virtual functions?
How do you sort a sort function in c++ to sort in descending order?
Why is c++ awesome?
Explain about Garbage Collector?
What are references in c++? What is a local reference?
What do you mean by a template?
Write a short code using c++ to print out all odd number from 1 to 100 using a for loop