What is mean by constructor in C++?

A constructor in C++ is a special method that is automatically called when an object of a class is created .

Sizin İçin Seçtik  What are the different types of constructor explain?

Leave a Reply

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