Computer Science, asked by namandeepkaur2837, 5 months ago

functions declaration ends with​

Answers

Answered by Anonymous
3

Answer:

function is a subprogram that can take parameters and return a single value. A function has two parts: the specification and the body. The specification (spec for short) begins with the keyword FUNCTION and ends with the RETURN clause, which specifies the datatype of the return value. 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.A function declaration is a statement containing a function prototype (function name, return type, the types of parameters and their order).

Explanation:

Answered by lissa5
1

Explanation:

the specification begins with the keyword function and ends with the return clause

Similar questions