adplus-dvertising
frame-decoration

Question

When a destructor is called?

a.

After the end of object life

b.

Anytime in between object’s lifespan

c.

At end of whole program

d.

Just before the end of object life

Answer: (d).Just before the end of object life

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. When a destructor is called?