Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site dartvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!dartvax!chuck From: chuck@dartvax.UUCP (Chuck Simmons) Newsgroups: net.arch,net.lang.c,net.micro,net.micro.pc,net.micro.68k Subject: Re: Re: Need 286 "C" benchmark Message-ID: <3146@dartvax.UUCP> Date: Sun, 26-May-85 02:16:36 EDT Article-I.D.: dartvax.3146 Posted: Sun May 26 02:16:36 1985 Date-Received: Mon, 27-May-85 00:41:47 EDT References: <426@oakhill.UUCP> <8745@microsoft.UUCP> <583@intelca.UUCP> <433@oakhill.UUCP> Organization: Dartmouth College, Hanover, NH Lines: 13 Xref: watmath net.arch:1257 net.lang.c:5293 net.micro:10521 net.micro.pc:4047 net.micro.68k:804 > int a[50000]; > > main() > { > int i; > for (i=0; i<50000; i++) a[i+1] = a[i]; > } > > Dave Trissel {seismo,ihnp4}!ut-sally!oakhill!davet I know I can't program in C, but doesn't this program have a small bug in it? When i is 49999, doesn't some random word of memory get trashed by the assignment statement?