Parameter passing

  • Authors:
  • Adrienne Bloss;J. A. N. Lee

  • Affiliations:
  • -;-

  • Venue:
  • Encyclopedia of Computer Science
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

When a subprogram is called, information may be passed to it by means of a parameter, or argument. The placeholder within the subprogram for this information is called the formal parameter; the information that is actually passed on a given invocation is called the actual parameter. This article is concerned with the means by which the actual parameters supplied to a procedure or function are transferred to the formal parameters. There are three basic techniques: