Computer Science, asked by pathakshobha300033, 1 year ago

When do we need to use default arguments in a function? ( c++ ).

Answers

Answered by prachi42076
0

Answer:

7.7 — Default arguments. A default argument is a default value provided for a function parameter. If the user does not supply an explicit argument for a parameter with a default argument, the default value will be used. If the user does supply an argument for the parameter, the user-supplied argument is used.

Similar questions