Two Sample program of default argument with function using class and object
Answers
Answered by
1
Answer:
A 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