Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn ) Newsgroups: net.lang.c Subject: Re: C array follies 2 Message-ID: <1303@brl-tgr.ARPA> Date: Sat, 7-Sep-85 02:51:07 EDT Article-I.D.: brl-tgr.1303 Posted: Sat Sep 7 02:51:07 1985 Date-Received: Mon, 9-Sep-85 01:04:18 EDT References: <172@rtp47.UUCP> Organization: Ballistic Research Lab Lines: 12 > It is interesting and amusing to observe the code generated by this > function: > > void f( x, y, i ) > int x[], (*y)[], i; > { > x[i] = 1; > (*y)[i] = 2; > } Maybe a bit more explanation would be in order. This generates perfectly reasonable code under both C compilers on this VAX: