*
after the type of object that it points to.
int
: int* pi;
float
: float* pf;
NULL
is the null pointer.
NULL
is a valid pointer, but it does not point to any object.
NULL
has numerical value 0
.
&
&
returns the address of an object.
i
is an int
, then &i
is the
address of i
.
This page was last modified on Jan 19, 2001
URL: http://people.hsc.edu/faculty-staff/robbk/Coms262/Lectures/Pointers.html