Answer :

A constructor is a member function that is automatically called when a class object is created.

What is constructor?

A constructor is a special type of function which is used to initialize an object. It is called when an instance of an object is created and can be used to set the initial values of the object's properties. Constructors can also be used to define the behavior of the object, such as adding methods to the object's prototype.

Constructors are typically named with a capitalized first letter to differentiate them from regular functions. Constructors are a fundamental part of object-oriented programming, and are essential for creating objects with specific properties and behaviors.

To learn more about constructor
https://brainly.com/question/13267121
#SPJ4