constructor with default parameters

Опубликовано: 13 Июнь 2026
на канале: C++ and Data structures
94
5

instead of writing seperate constructors for default and parameterised constructor or overloaded constructors.we can write constructor with default parameters works for both default constructor and parameterised constrcutor