facts about c++
Constructor constructor is a special type of function or method in which there is No return type(Even void) and constructor name will be same as the name of the class. There are two types of constructor1.default constructor2.parameterised constructor Passing Objects as Function Arguments in C++class Test{public : /*here we are passing Test the name of …