Parameterized Constructor in C++ (HINDI/URDU)
There are many methods in C++. But parameterized constructor in C++ are some special types of method which gets instantiated as soon as an object is created. Therefore, there are two types of constructors defined in C++ namely default constructor, Parametrized constructor. There is a minute difference between default constructor and Parametrized constructor. The default constructor is a type of constructor which has no arguments but yes object instantiation is performed there also. On the other hand, as the name suggests Parametrized constructor is a special type of constructor where an object is created, and further parameters are passed to distinct objects .