Skip to content
EntityQ1410440· pop 30· linked from 227 articles

Also known as param, function parameter, subroutine parameter, formal parameter, formal argument, neural parameter, method parameter

in computer programming, special kind of variable that holds data that was passed as an argument to a subroutine

~20 min read

Article

In computer programming, a parameter, a.k.a. formal argument, is a variable that represents an argument, a.k.a. actual argument, a.k.a. actual parameter, to a function call. A function's signature defines its parameters. A call invocation involves evaluating each argument expression of a call and associating the result with the corresponding parameter.

For example, consider the Python function

Connections

Categories