Global Scope

Hi, can anyone explain when exactly a variable that has global scope goes out of scope? I imagine it is when the application exits, but is this a reliable way of having an object destroyed at that time?(i.e. will the destructor for a globally defined object be called)
Last edited on
C++ guarantee that global objects will be destroyed in reverse order to their creating.
Cool cheers.
Topic archived. No new replies allowed.