What is the difference between char * const and const char *?
The difference is that const char * is a pointer to a const char, while char * const is a constant pointer to a char. The first, the value being pointed to can’t be changed but the pointer can be. The second, the value being pointed at can change but the pointer can’t (similar to … Read more