Computer Science, asked by athreyjith, 2 months ago

which is the operator used with destructor function​

Answers

Answered by anandashish9525
0

Answer:

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 ( ~ ). For example, the destructor for class String is declared: ~String()

Explanation:

Please make me brilliant

Answered by yashvibhatt2401
3

Answer:

A destructor has the same name as the class, preceded by a tilde ( ~ ). For example, the destructor for class String is declared: ~String()

Similar questions