1/24/00
COM1100 Winter2000 Lecture 7
16
The equivalence of actual and formal arguments when passed by reference
In main() the values are referenced as
One value is stored
x
m
One value is stored
y
n
In Swap(int& x, int& y) the same values are referenced as
m
n
x
y