InterviewSolution
Saved Bookmarks
| 1. |
When is the destructor of a global object called?(a) Just before end of program(b) Just after end of program(c) With the end of program(d) Anytime when object is not neededI got this question in an online quiz.This intriguing question originated from Destructors topic in section Constructors and Destructors of Object Oriented Programming |
|
Answer» Right answer is (a) Just before end of program |
|