Mnemonic rule: read the pointer declaration from right to left.
For example:
int * i; // pointer to int
int * const i; // constant pointer to int
int const * i; // pointer to a constant of type int
int const * const i; // constant pointer to a constant of type int
Login in to like
Login in to comment