www.itechowais.tech |
Features of Destructor in OOP | C++ :
- Compiler itself called the Destructor when an object is destroyed.
- It has no return type even void.
- It cannot be inherited and virtual.
- It is de-locate the memory that was allocated by Constructor for the Object.
0 Comments
If you have any suggestion or doubt, please ask me.
Emoji