what is the function of default constructor in c++
Default constructor
a constructor that can be called without having to provide any arguments, irrespective of whether the constructor is auto-generated or user-defined