1. pointer to constant = pointer to a constant. The content to which the Pointer Points cannot be changed, but the pointer value can be changed.
Char ch [5] = "Lisi ";
Const char * pstr = CH; // pointer to a constant, which can be defined first and then assigned a value.
Pstr = "ABCD"; // you can assign a value to the pointer to point to another constant.
* Pstr = "F"; // It is not allowed to change the content pointed to by the pointer.
In this way, you cannot mistakenly modify the pointer, which is often used as the form parameter of the function.
2. pointer constant = the pointer itself is a constant, and the content to which it points can be changed, but the pointer value cannot be changed.
Char ch [5] = "Lisi ";
Char * const pstr = CH; // pointer constant, which must be assigned at the same time as defined
Pstr = "ABCD"; // It is not allowed to assign a value to the pointer to point to another constant.
* Pstr = "F"; // you can change the content pointed to by the pointer.