Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site cisden.UUCP Path: utzoo!decvax!ucbvax!ucdavis!lll-crg!seismo!hao!nbires!boulder!cisden!phillips From: phillips@cisden.UUCP (Tom Phillips) Newsgroups: net.lang.c Subject: Re: arrays, anyone? Message-ID: <277@cisden.UUCP> Date: Wed, 11-Sep-85 13:22:44 EDT Article-I.D.: cisden.277 Posted: Wed Sep 11 13:22:44 1985 Date-Received: Sat, 14-Sep-85 20:50:40 EDT References: <390@ur-helheim.UUCP> <2748@sun.uucp> Reply-To: phillips@trantor.UUCP (Tom Phillips) Followup-To: net.lang.c Distribution: na Organization: ConTel Information Systems, Denver Lines: 14 Keywords: bounds Summary: error in posting In article <2748@sun.uucp> guy@sun.uucp (Guy Harris) writes: > [Lots of stuff] >Now, to reference A(10,100): > > (*a)[99][9]; > > ... > Guy Harris WRONG! Declaring an array [99] means the valid values are from 0 -> 98 . See K&R page 20. Tommy Phillips trantor!phillips