11. A destructor is automatically called when? 12. A destructor is called when a
ID: 663229 • Letter: 1
Question
11. A destructor is automatically called when?
12. A destructor is called when an object scope of existence has ___________?
13. or because it is an object dynamically assigned and is released using the operator_________
14. The use of destructors is especially suitable when an object assigns _________ memory during
its lifetime and releases that which the object was allocated
15. A constructor can be overloaded with more than one function which has the same name but with
what two different things?
Explanation / Answer
11. A destructor is automatically called when?
Answer:
When object goes out of scope.
12. A destructor is called when an object scope of existence has _____been destroyed______?
13. or because it is an object dynamically assigned and is released using the operator____delete_____
14. The use of destructors is especially suitable when an object assigns _____heap____ memory during
its lifetime and releases that which the object was allocated
15. A constructor can be overloaded with more than one function which has the same name but with
what two different things?
Answer
Yes
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.