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
What is the difference between cin.read() and cin.getline()?
Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).
Is python written in c or c++?
Difference between class and structure.
What are the vectors in c++?
What is a terminating character in c++?
How does com provide language transparency?
What is a manipulative person?
What is overloading unary operator?
What is the difference between structure and class?
Define anonymous class.
What does new return if there is insufficient memory to make your new object?
When do we run a shell in the unix system? How will you tell which shell you are running?
Why is c++ considered difficult?
What is pointer to array in c++?