Q:

How destructors are different from a normal member function in c++

0

How destructors are different from a normal member function

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Answer:

The name of the destructors must be the same as the class name preceded by a tilde (~). Also, destructors don’t take any argument and don’t return anything.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now