Back To C++ Constructors & Destructors

constructor is a special member function that has the same name as that of class and is used to initialize the datamembers of the class