Call By Value

last modified: February 5, 2005

A ParameterPassing mode where the actual parameter is copied into the formal parameter at the point of function invocation (for example, implemented by copying into an agreed-upon register or location on the program stack).

Has the following attributes and consequences:

CallByValue refers to ParameterPassing modes with the above semantics, even if implemented differently under the hood.


See ParameterPassing, CallByReference, ExplicitLazyProgramming, CallByThunk


CategoryLanguageFeature


Loading...