Computer Science for IGCSE & O level - Programming (Section 5 - No. 42)

What is the primary function of the `RETURN` statement in a function?
To define a new function.
To declare a variable.
To send a value back from the function.
To end the program.

Explanation

The RETURN statement passes the result.

Comments (0)

Advertisement