0 6

BIT153 ยท 0 ยท 5 marks

What is meant by default argument? Explain with suitable example.

What is meant by default argument? Explain with suitable example. [5]

Object Oriented ProgrammingChapter 5: Function Features and Inline FunctionsDefault arguments

A default argument is a value provided in a function declaration that is automatically used by the compiler if the caller does not supply a corresponding argument in the function call. It allows a function to be called with fewer arguments than it is defined to accept. --- - Default arguments mus...