What\'s the difference between:
char * const
and
const char *
I remember from Czech book about C: read the declaration that you start with the variable and go left. So for
char * const a;
you can read as: "a is variable of type constant pointer to char",
char const * a;
you can read as: "a is a pointer to constant variable of type char. I hope this helps.
Bonus:
const char * const a;
You will read as a is constant pointer to constant variable of type char.