Interviewer And Interviewee Guide

C++ Constructors Interview Question:

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.

Submitted by: Muhammad
Option B
When the program terminates.
Submitted by: Muhammad

Read Online C++ Constructors Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.