Question: When are the Global objects destroyed?

Options

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.

Click to view Correct Answer

Previous || Next

Constructors and Destructors - General Questions more questions

Destructor has the same name as the constructor and it....

For automatic objects, constructors and destructors are called each time....

Which constructor function is designed to copy objects of the....

Which of the following statement is correct?

Which of the following statement is incorrect?

Copy constructor must receive its arguments by __________ .

A function with the same name as the class, but....

A union that has no constructor can be initialized with....

Which of the following gets called when an object goes....

Which of the following statement is correct?

Constructors and Destructors - General Questions more Online Exam Quiz

Operating Systems Concepts - Part 1

System Analysis and Design - Part 1

Unix - Part 1

Windows 2000 Server - Part 1

Windows NT - Part 1

Functions - General Questions

Objects and Classes - General Questions

OOPS Concepts - General Questions

References - General Questions

Arrays - General Questions