1/24/00
COM1100 Winter2000 Lecture 7
13
Reference parameter
n
C++ syntax
n
data-type& reference-name
n
Example
n
float& num1
n
Declare that
num1
is a
reference
parameters
that will be used to store the address of a float