Another silly question
David Goodenough
dg at lakart.UUCP
Tue May 2 01:19:01 AEST 1989
>From article <879 at twwells.uucp>, by bill at twwells.uucp (T. William Wells):
> In article <9987 at claris.com> krazy at claris.com (Jeff Erickson) writes:
> : In fact, since a[i] = *(a+i), and (a+i)=(i+a), you can actually write i[a]
> : for a[i] and most compilers will take it! (Every one I've tried has, anyway.)
>
> Try Microsoft. I don't know if it is true of the latest version, but
> one of about two years ago wouldn't take it.
GreenHills (the compiler supplied with our machine) gets all bent out of
shape about it too. Makes it a bear to compile obfuscated C programs, but
not much of a handicap otherwise :-)
It does get *(a + i) right though .....
--
dg at lakart.UUCP - David Goodenough +---+
IHS | +-+-+
....... !harvard!xait!lakart!dg +-+-+ |
AKA: dg%lakart.uucp at xait.xerox.com +---+
More information about the Comp.lang.c
mailing list