InterviewSolution
Saved Bookmarks
| 1. |
What happens when an object is passed by reference?(a) Destructor is not called(b) Destructor is called at end of function(c) Destructor is called when function is out of scope(d) Destructor is called when called explicitlyThe question was posed to me in final exam.Query is from Destructors in chapter Constructors and Destructors of Object Oriented Programming |
|
Answer» Right option is (a) Destructor is not called |
|