ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
A ________ is a special member function whose task is to initialize the objects of its class.
Correct Answer: A — Constructor
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.