adplus-dvertising
frame-decoration

Question

Which among the following best describes destructor?

a.

A function which is called just before the objects are destroyed

b.

A function which is called after each reference to the object

c.

A function which is called after termination of the program

d.

A function which is called before calling any member function

Answer: (a).A function which is called just before the objects are destroyed

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which among the following best describes destructor?