Skip to content
engineering workbench.by StudyPort Academy
All glossary terms

GLOSSARY · A WORD, UNPACKED

argument

the actual value you pass into a function when you call it.

A little more detail

In greet("Ada"), the string "Ada" is an argument. The definition may call its corresponding parameter name, but the caller can compute or choose the argument however the contract allows. Passing an object copies its reference as a value: the function can change that shared object, but reassigning its local parameter does not reassign the caller’s variable.

See it in practice

These lessons pair the idea with examples you can change and run.