I always mess up how to use const int *, const int * const, and int * const correctly. Is there a set of rules defining what you can and cannot do?
const int *
const int * const
int * const
I want to know all the do's and all don'ts in terms of assignments, passing to the functions, etc.