What is the benefit of using default parameter argument in a function?
Answers
Answered by
1
The idea behind default argument is simple. If a function is called by passing argument/s, those arguments are used by the function. But if the argument/s are not passed while invoking a function then, the default values are used.
Similar questions
Math,
7 months ago
Computer Science,
7 months ago