Review of Pointers
Here are the pointer examples from last class. Any questions?
Declaration:
int *aPtr, *bPtr;
Assignment (address of operator):
aPtr = &a;
Assignment (pointer to pointer):
aPtr = bPtr;
Dereference Operator:
*b = 4 * c;
Function Prototypes:
int * F (int *a, int b);
void G (int *b);
Main Page
Last Modified 31 October 2000