previous
|
start
|
next
Reference Parameters (Syntax 5.4 : Reference Parameters)
Syntax 5.4 : Reference Parameters
type_name
&
parameter_name
Example:
Employee& e
int& result
Purpose:
Define a parameter that is bound to a variable in the function call, to allow the function to modify that variable.
previous
|
start
|
next