<<< Why use pointers? | Index | Pointer syntax >>> |
Dereference operator,
*ptr
provides access to the variable pointed by the address:
x = *ptr; // fetch the value at the address specified by ptr *ptr = 5; // store new value at the address specified by ptr
<<< Why use pointers? | Index | Pointer syntax >>> |