Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!security!genrad!grkermit!masscomp!clyde!ihnp4!houxm!mhuxl!eagle!harpo!seismo!hao!hplabs!sri-unix!gwyn@brl-vld From: gwyn%brl-vld@sri-unix.UUCP Newsgroups: net.unix Subject: Re: argc[argv] Message-ID: <14706@sri-arpa.UUCP> Date: Sat, 17-Dec-83 05:02:08 EST Article-I.D.: sri-arpa.14706 Posted: Sat Dec 17 05:02:08 1983 Date-Received: Wed, 21-Dec-83 01:39:38 EST Lines: 20 From: Doug Gwyn (VLD/VMB) If the VAX/VMS C compiler complains about char *x, y; y = 1[x]; then it is in violation of the C language rules, which explicitly state that a[b] is entirely equivalent to *(a+b) where the "+" is interpreted appropriately (and is commutative). I don't have any of the C reference manuals around at the moment but I know this is in there.