Programming Languages C++ Objective
Mar 20, 2013

When are the Global objects destroyed?

Choose the correct answer:
A) When the control comes out of the block in which they are being used.
B) When the program terminates.
C) When the control comes out of the function in which they are being used.
D) As soon as local objects die.
Detailed Explanation

Option B is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback