- Positional notation: The actual parameters are associated with the formal parameters by position.
- Named notation: The formal parameter and the actual parameter are both included for each argument.
- In the positional the parameters with default values must be at the end of the argument list.
- Positional and named notation can be mixed in the same call as well, The first arguments must be specified by position, and the remaining arguments can be specified by name.
- The subprogram can be with no parameters.
6 years ago
No comments:
Post a Comment