Multiple choice

Which of the following types of constructor is a special member function that is invoked by the C++ compiler without any arguments for initialising the objets of a class?

  1. Parameterized constructor

  2. Copy constructor

  3. Default constructor

  4. Constructor overloading

  5. Destructor

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

This type of constructor is a special member function that is invoked by the C++ compiler without any arguments for initialising the objects of a class.