(C++ related questions) Select each of the following instances in which an object’s destructor would be called.
1.Static variable goes out of scope (Correct