Object Oriented Programming20825 marksDefault arguments
Explain default arguments and inline functions in C++ with suitable examples.
Explain default arguments and inline functions in C++ with suitable examples. [5]
--- Definition: Default arguments are values provided in a function declaration that are automatically used when the caller does not supply a corresponding argument. They allow a function to be called with fewer arguments than it is defined to accept. Rules: - Default arguments must be specified ...