I tried doing a followup to this on comp.lang.c. However, the regulars have managed to once again get into a long debate about the semantics of the language.
And I quote:
"> Not really.
> If a pointer is const qualified, then you cannot mofdify what it points to.
> This has a marginal use in tagging parameters as input rather than output.
> However there are various weaknesses in C's implementation of const which
> make in not especially useful. For instance members of a const-qulaified
> structure can point to writeable memory, and const qualified parameters can
> be aliased by writable pointers. "
Can someone give me an example of this?