7.1 Address of

The unary & operator takes the address of the operand on its right hand side. Consider the following example:

int i, *p;
p = &i;

p becomes a pointer to variable i because it is initialized with the address of i.



Copyright © 2006-09-25 by Tak Auyeung