State the rules for writing destructor
function.
Answers
Answered by
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