Default Constructor And Its Need in C++

The Constructor initializes the data members of a class. When a class does not have a parameter less constructor, the compiler will provide one. But, it has some unwanted behaviors.
The Constructor initializes the data members of a class. When a class does not have a parameter less constructor, the compiler will provide one. But, it has some unwanted behaviors.