Computer Science, asked by ketangohil214, 3 months ago

explain function with default argument with example in detail​

Answers

Answered by pds39937
5

Explanation:

default argument is a value provided in a function declaration that is automatically assigned by the compiler if the caller of the function doesn't provide a value for the argument with a default value. Following is a simple C++ example to demonstrate the use of default arguments.

Similar questions