Abridged from version 3.3 (last modified April 3, 1996 by scs) of comp.lang.c Answers to Frequently Asked Questions (FAQ List):
- 11.9:
What's the difference between "
const char *p" and "char * const p"?- A:
"
char const *p" declares a pointer to a constant character (you can't change the character); "char * const p" declares a constant pointer to a (variable) character (i.e. you can't change the pointer).
The FAQ list is Copyright 1990-1996 by Steve Summit.