Which function is used to perform some action when the object is to be destroyed?
Answers
Answered by
1
**Destructors**
Destructors are special member functions that are automatically triggered when an object goes out of scope.
Destructors are special member functions that are automatically triggered when an object goes out of scope.
Similar questions