Multiple choice

__________ is an unique member function, whose task is to initialize the objects of its class.

  1. Object

  2. Class

  3. Constructor

  4. Destructor

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Constructor is a special kind of member function, whose task is to initialize the object of its class. This is implicitly called when the object of the class is created.