0
can we use a function to call destructor
3 odpowiedzi
+ 2
we don't need to call a destructure .
like constructure , it calls automatically when an object is no longer in use
+ 1
No destructor can't be called. Destructor can only be called by the compiler at the closing block of main() function .
+ 1
* Destructor is called at the point at which an object is destroyed. And no, it can't be called, unlike a constructor.