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
Is rust better than c++?
What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?
Can union be self referenced?
How come you find out if a linked-list is a cycle or not?
Are vectors passed by reference c++?
Explain mutable storage class specifier.
What is a responder chain?
Differentiate between a constructor and a method in C++.
What is the use of typedef?
Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement
Explain queue. How it can be implemented?
Why do we use string in c++?
What is a pdb file?
Can there be at least some solution to determine the number of arguments passed to a variable argument list function?
Give 10 points of differences between C & C++.