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

Which of these best describes a parameter in the context of procedures and functions?
A value that is returned by a function.
A constant used within a procedure.
A variable that stores the values of the arguments passed to a procedure or function.
The name of the procedure or function itself.

Explanation

Parameters are placeholders for the data that is passed into a procedure or function when it is called.

Comments (0)

Advertisement