1/24/00
COM1100 Winter2000 Lecture 7
14
& symbol
nIn C++, & means “the address of”
nWhen an & symbol is used within a function declaration, it refers to “the address of” the preceding data type.
nDeclaration such as float& num1 is sometimes more clearly understood if it is read backwards.
n“num1 is the address of a floating-point value”