Address of array
Wayne Throop
throopw at dg_rtp.UUCP
Mon Mar 17 07:32:25 AEST 1986
>>I agree that C's treatment of array/function/struct addresses is
>>inconsistant, confusing, and limiting. [...]
> [...] Why do you include struct addresses in your complaint? I don't see
> anything inconsistent, confusing, or limited in them, at least nothing
> analagous to function and array addresses.
Ah. Perhaps that *was* confusing of me. I didn't mean to imply that
handling of arrays, functions and structures are all incorrect. Just
that the treatment of each of these is not like the treatment of either
of the others. In some sense, there isn't a "right" way to do it...
it's just that C doesn't treat similar cases (aggregates like arrays and
structs, for example) in analogous ways, and this is inconsistant.
> Karl W. Z. Heuer (ihnp4!bentley!kwh), The Walking Lint.
--
Wayne Throop at Data General, RTP, NC
<the-known-world>!mcnc!rti-sel!dg_rtp!throopw
More information about the Comp.lang.c
mailing list