Path: utzoo!attcan!uunet!husc6!bloom-beacon!mcgill-vision!mouse From: mouse@mcgill-vision.UUCP (der Mouse) Newsgroups: comp.lang.c Subject: Re: 5[array] (was Re: "for" loops in C ...) Message-ID: <1350@mcgill-vision.UUCP> Date: 15 Nov 88 09:07:49 GMT References: <14999@agate.BERKELEY.EDU> <4700019@m.cs.uiuc.edu> <6945@cdis-1 <1076@dukeac.UUCP> Organization: McGill University, Montreal Lines: 20 In article <1076@dukeac.UUCP>, sbigham@dukeac.UUCP (Scott Bigham) writes: > In article <10742@cup.portal.com> ts@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@larry.mcrcim.mcgill.edu (No, that program isn't original with me, sorry.)