Re: Simple question about pointer types



gazelle@xxxxxxxxxxxxxxxxxxx (Kenny McCormack) wrote:

> In article <4264CF06.1DC2@xxxxxxxxxxxxxx>,
> pete <pfiland@xxxxxxxxxxxxxx> wrote:
> ...
> >> both ptr1 and ptr2 (though of incompatible types) have the same size
> >> i.e equal to unsigned int, As far as different platforms are
> >> concerned.The size of unsigned int varies from platform to platform ,
> >> correspondingly the size of the pointers change.
> >
> >Your post is pure fantasy.
>
> No. In fact, his post is quite reasonable. His only error was neglecting
> to include an obvious qualification, which I'm sure to him seemed so
> obvious that he couldn't imagine people not assuming same.
>
> That qualification goes something like:
>
> On garden variety 32 bit Intel hardware, using normal compilers on
> normal OSs. I.e., all the systems I (Prashant) have ever used.

In other words,

In my limited experience, which doesn't even go back as far as
MS-DOS, and is therefore hardly a guarantee in the real world.

> P.S. Yes, I am well aware that there are words in the previous sentence
> that clc pissant regulars can (and will) quibble with. Have a ball!

How about the entire sentence?

Richard
.



Relevant Pages