what is default argument? give example
Answers
Answered by
1
Answer:
Default arguments are overwritten when calling function provides values for them. For example, calling of function sum(10, 15, 25, 30) overwrites the value of z and w to 25 and 30 respectively. ... For example, the following function definition is invalid as subsequent argument of default variable z is not default.
Similar questions