const char* ptr means "ptr points to a char that is constant" — that is, the char can't be changed via ptr.
char * const ptr means "ptr is a constant pointer to a char" — that is, you can change the char via ptr, but you can't change the pointer itself.