- The formal parameters to ap procedure or function can have default values.
- If parameter has a default value, it does not have to be passed from the calling environment.
- If it is passed, the valued of the actual parameter will be used instead of the default.
- If positional notation is used, all parameters with default values that don’t have an associated actual parameter must be at the end of the parameter list.
6 years ago
No comments:
Post a Comment