Class A { public: A(int i = 0, int k = 0) {} // default constructor WHY ?? ~A() {} }; int main() { A a; // This creates object using defined default
According to c++ standard a default constructor is the one which can be called without arguments.It is also the reason for your quesrion.