Quote Originally Posted by Elysia View Post
A small guide:
int x = 10;
int* p = &x;
*p = 20;
After this, x is 20, and *p is 20.
Before, x is 10.
int * q;
q = p;
This is pointer assignment for pointers with the same level of indirection, since we're copying the value of p (some address), not p's address.
++(*q);
*q++;
Know the syntax for your increments and decrements.