Newsgroups: comp.std.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: Volatile binding for const? Message-ID: <1989Apr1.225632.23016@utzoo.uucp> Organization: U of Toronto Zoology References: <1989Mar29.210035.4085@utzoo.uucp> Date: Sat, 1 Apr 89 22:56:32 GMT In article <1989Mar29.210035.4085@utzoo.uucp> I wrote: >> char const *s, *t; =is=> {char const *} s, t >> char *const s, *t; =is=> char {const *s}, *t >> >... (Both declare "t" to be pointer to const char.) Oops. Talk about blunders. I got the important part, about "s", right, but botched "t". The first declaration declares t to be pointer to const char. The second declares it to be pointer to char. -- Welcome to Mars! Your | Henry Spencer at U of Toronto Zoology passport and visa, comrade? | uunet!attcan!utzoo!henry henry@zoo.toronto.edu