Memory Management

Pass by Reference

English

Overview

A parameter-passing scheme where the location of a value (a reference) is passed.

Details

A scheme that passes a reference (address) to data as the argument, so changes made inside the function are reflected back to the caller. Some languages, like C++, have explicit syntax for it (&), while others behave close to pass-by-reference in practice because objects are always handled as references.

More Programming terms