Computer Science, asked by GIam, 3 days ago

What do you mean by destructor?​

Answers

Answered by Ᏸυէէєɾϝɭყ
8

Answer:

  • Destructor is a class member function that deletes or destructs an object.

Answered by SarcasmSoul
2

Answer:

A destructor is a member function that is invoked automatically when the object goes out of scope or is explicitly destroyed by a call to delete . A destructor has the same name as the class, preceded by a tilde ( ~ ).

Similar questions