const type * variable name: you can change the pointer’s pointer, but you cannot change the content pointed to by the pointer.
Type * const variable name: The content pointed to by the pointer can be changed, but the pointing of the pointer cannot be changed. Reference address
const type * variable name: you can change the pointer’s pointer, but you cannot change the content pointed to by the pointer.
Type * const variable name: The content pointed to by the pointer can be changed, but the pointing of the pointer cannot be changed.
Reference address
C language knowledge- - const NSString* const string;