The constness applies to 1) the pointer itself - whether it can change to point to something else after initialisation, and 2) the data the pointer points to - whether the data can change or not via the pointer.
int *const p= &x; // p is const pointer to non-const data - p cannot change to point to something else, but you can change what it points to
int const *p= &x; // p is non-const pointer to const data - p can change to point to something else, but what it points to cannot be changed
const int *const p= &x; // p is const pointer to const data - p cannot change to point to something else, and what it points to cannot be changed