C++ Constructors Question: Download Questions 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.
Answer:
Option B
When the program terminates.
When the program terminates.
Download C++ Constructors Interview Questions And Answers
PDF