which operator is used to declare the destructor in C++ ?

which operator is used to declare the destructor in C++ ? Correct 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 (~). For example, the destructor for class String is declared: ~String().
Bissoy MCQ

Related Questions

Which of the following is the destructor for the class'Vehicle'
which of the following is the destructor for the class Vehicle?
Which of the following is the destructor for the class Vehicle"
Which keyword is used to declare a constant property?
Which article can be used by The President of India to declare financial emergency?