Default constructor in C++ is provided by the compiler if we don’t implement any constructor in the class. For example, in below class, we don’t
Default constructor in C++ is provided by the compiler if we don’t implement any constructor in the class. For example, in below class, we don’t