Originally Posted by
gwarf420
Yes, but in explaining why char pointers should be declared const it should be natural to address the likely common question that "If I claim a char pointer as constant, it will not allow me to reassign the pointer?"
I know, for me at least, it was not natural for me to think of a char pointer as two seperate types. (I viewed it as either a char pointer type or int pointer type or just an int. Not a pointer type pointing to an int or char type). A simple link in the article to that related concept would be nice. If it had not been for laserlight to take the extra step and explain that, I would have totally disregarded the advice because it would seem it would not allow me to reassign the char pointer (which would not be worth the hassle).