C - Pointers2
From EdWiki
Pointers ...
- The unary operator * is the indirection or de-referencing operator.
- When applied to a pointer, it accesses the contents, the pointer points to.
int x = 1; int y = 2; int* ip; // ip is a pointer to int ip = &x; // ip now points to x y = *ip; // y is now 1 *ip = 0; // x is now 0