A constructor is a special member function that is called whenever a new instance of a class is created. ... If a constructor has arguments, then they should also be added to the declaration of any other object of that class when using the new operator.