pointer sizes, was: Re: What does char **ch mean?
Wolfram Roesler
wolfram at akela.informatik.rwth-aachen.de
Wed May 15 22:14:05 AEST 1991
gwyn at smoke.brl.mil (Doug Gwyn) writes:
>>that the declaration char **ch; is equivalent to char *ch;
>No, they're not at all equivalent. They might not even have the same size.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I advised somebody something similar to that, telling him (like I learned
from the FAQ) that weird machines have weird pointers, that (char*)0 and
0L might have different binary representations and the like. His response
to this was:
"I claim there are no machines like this"
What do you gurus say about this? How about an example of a machine or OS
where this is true?
Wolfram
More information about the Comp.lang.c
mailing list