Can First statement of a function be optional?
Answers
Answered by
1
Answer:
Parameter declarations are optional. Functions that take no parameters are written without parentheses. The function body begins with the keyword IS (or AS ) and ends with the keyword END followed by an optional function name.
Answered by
0
The first statement of a function can be optional.
- A function is a subprogram with the ability to take parameters and return one value.
- The declarations on parameters are optional.
- Functions which do not take parameters will be written without parentheses.
- The body of the function starts with the keyword Is or As and ends with the keyword END followed by an optional name.
Similar questions
Physics,
5 months ago
Math,
5 months ago
Math,
5 months ago
Computer Science,
11 months ago
Computer Science,
11 months ago