Parameter
A named placeholder a function uses for the values it receives.
๐ In simple words
A named placeholder a function uses for the values it receives.
๐ Technical definition
A variable declared in a function's definition that receives the value of the corresponding argument when the function is called.
Pseudocode example
1FUNCTION GREET(NAME) // NAME is a parameter2 DISPLAY "Hi", NAME3END FUNCTION
๐ Real-world analogy
The labelled empty cups on a recipe card, waiting for ingredients.