D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: Character arrays was Re: [LUG] C - global arrays



On Fri, Aug 02, 2002 at 09:30:40AM +0100, Theo Zourzouvillys wrote:

it's a pointer so it can be operatied on numerically without affecting the 
contents, whch is all a pointer doesn't allow - you can stuill do pointer 
arithmatic on it.

Yes, cos that's apointer to constant data, not a constant pointer,
like this sort of thing:

char ** const thingy;

OR

char * const *thingy;

Steve

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly