Does delete [] call destructor?

Yes, the destructor will be called for all objects in the array when using delete[] .

Sizin İçin Seçtik  Why do we need to call the destructor?

Leave a Reply

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