Computer Science for IGCSE & O level - Programming (Section 4 - No. 23)

What is the role of a parameter within a function or procedure?
To declare a local variable.
To store a value returned by the function.
To receive data that is passed into the function or procedure.
To define the name of the function or procedure.

Explanation

Parameters are used to send data into functions.

Comments (0)

Advertisement