Constructor in C++
When an object is created in C++, a specific function called the constructor is immediately called. In general, it is utilised to initialise new objects' data members. In C++, the class or structure name serves as the name of the constructor. When cr...
rohan4650.hashnode.dev3 min read