On Jun 29, 12:11=A0am, Frank Kotler <fbkot...@[EMAIL PROTECTED]
> wrote:
> ronaldsorrell2...@[EMAIL PROTECTED]
wrote:
>
> ...
>
> > this program is found in 4.7.3 and the lesson is pointer constants and
> > pointer =A0constants expressions.
>
> Ah! Apparently the chapters are numbered differently in the Linux
> version, too...
>
> 1.7.3 Pointer Constants and Pointer Constant Expressions
>
> HLA allows two literal pointer constant forms: the address-of operator
> followed by the name of a static variable or the constant zero. In
> addition to these two literal pointer constants, HLA also sup****ts
> simple pointer constant expressions.
>
> The constant zero represents the NULL or NIL pointer, that is, an
> illegal address that does not exist.
> ...
>
> Ah! What we've got is the "address-of operator followed by the name of a
> static variable" form of pointer constant, not the "illegal address"
> form. The zero is the contents of the address "&b". We're setting the
> constant "pb" to the (non-zero) address... plus one. So the constant is
> the address of the 1, and that's what we see when we run the program.
> Becoming any clearer?
>
> Best,
> Frank
yes after playing with it and reading that section over and over
again, but what has helped the most was the comments posted. this last
one put it all in full veiw. Now I will need to go over it again
tonight but I am sure that I have it now.
Thanks every one for your assistance.
see ya, test professor


|