Tag Archives: Formal

Actual and formal parameters

I had a few questions about this in class today, so I think it’s worth going back over it.

Parameters are used by procedures and functions to pass information in and out. They are used in the definition and in the call of these constructs.

  • The parameters used in the procedure/function definition are called the formal parameters.
  • The parameters used in the procedure/function call are called the actual parameters.

Continue reading Actual and formal parameters