5[array] (was Re: "for" loops in C ...)
der Mouse
mouse at mcgill-vision.UUCP
Tue Nov 15 19:07:49 AEST 1988
In article <1076 at dukeac.UUCP>, sbigham at dukeac.UUCP (Scott Bigham) writes:
> In article <10742 at cup.portal.com> ts at cup.portal.com (Tim W Smith) writes:
>> I don't know about i[ptr] being less readable than ptr[i]. [...]
> a[b] looks like an array reference, so [...] I assume that it _is_.
> The point is, is there ever any practical reason to use this
> construct? Do you ever use it? Does anyone?
"Practical" is doubtful, but since nobody else has mentioned this....
main() { printf(&unix["\021%six\012\0"],(unix)["have"]+"fun"-0x60);}
So there. :-)
der Mouse
old: mcgill-vision!mouse
new: mouse at larry.mcrcim.mcgill.edu
(No, that program isn't original with me, sorry.)
More information about the Comp.lang.c
mailing list