Loading practice questions
A ________ is a special member function whose task is to initialize the objects of its class.
Correct Answer: A — Constructor
Explanation:
Constructors are special because its name is same as the class name. The constructor is invoked whenever an object of its associated class is created. It is called constructor because it constructs the value of data members of the class.