Question: Which of the following gets called when an object goes out of scope?

Options

A : constructor

B : destructor

C : main

D : virtual function

Click to view Correct Answer

Previous || Next

Constructors and Destructors - General Questions more questions

Which of the following statement is incorrect?

When are the Global objects destroyed?

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 statement is correct?

__________ used to make a copy of one class object....

Constructors __________ to allow different approaches of object construction.

Which of the following statement is correct?

Which of the following cannot be declared as virtual?

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