First of all, what\'s the difference between:
(1) const char*
(2) char const*
(3) const char const*
I\'m fairly certain I understand this f
const char *
Pointer to constant char data (read right to left).
Same as #1.
const char * const
Constant pointer (pointer can't be changed) to constant data (data cannot be modified).
String literals are stored in read-only memory, usually as is, terminated by a '\0'. They are constant pointers to constant data.