InterviewSolution
Saved Bookmarks
| 1. |
When is the memory allocated for an object gets free?(a) At termination of program(b) When object goes out of scope(c) When main function ends(d) When system restartsI got this question by my school principal while I was bunking the class.The above asked question is from Overloading Member Functions in division Member Functions & its Types of Object Oriented Programming |
|
Answer» Right option is (b) When OBJECT goes out of scope |
|