Why is the destructor important?

Destructors are used to destroy the objects created by the Constructors when they are not needed anymore to release the memory . They are special member functions and called automatically by C++. Compiler to free up the memory when there is no user-defined destructor in the program.

Sizin İçin Seçtik  Soft lansman ne demek?

Leave a Reply

Your email address will not be published. Required fields are marked *