0 6

Object Oriented Programming05 marksDefault arguments

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

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

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...

Up nextWhat are the uses of this pointer? Discuss its concept with suitable example.