Computer Science, asked by sakshirohite3112, 6 months ago

State the rules for writing destructor
function.​

Answers

Answered by gautamchauhan35
2

Answer:

The name of the destructor must begin with the tilde character (~). The rest of the destructor name must be identical to the name of its class. You must not include any return type, not even void! A class can have no more than one destructor.

Explanation:

follow me

Similar questions