Computer Science, asked by singhjobanpreet5679, 9 months ago

function declaration ends ​

Answers

Answered by saivignesh222
0

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.

Similar questions