How many destructors can a class have C++?

2) There cannot be more than one destructor in a class . 3) Unlike constructors that can have parameters, destructors do not allow any parameter.

Sizin İçin Seçtik  As well as cümle başında kullanılır mı?

Leave a Reply

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