C++ Constructors Question: Download C++ Constructors PDF

When are the Global objects destroyed?

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.

Tweet Share WhatsApp