Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!microsoft!t-iaind From: t-iaind@microsoft.UUCP (Iain Davidson) Newsgroups: comp.lang.c Subject: Correction, a[33] Message-ID: <5819@microsoft.UUCP> Date: 26 May 89 07:07:41 GMT Reply-To: t-iaind@microsoft.UUCP (Iain Davidson) Distribution: usa Organization: Microsoft Corp., Redmond WA Lines: 26 .. Something that went un-noticed in a few messages: char a[33] is not an array of 33*sizeof (int) but really 34 slots !!!!! Remember C is start base 0 not 1. 0..33 = 34 slots of int's. char a[9] holds 10 characters !!!! (mistake me if I'm wrong, as i'm sure you will.... via flame-mail :) ----------------------------------------------------------------- Iain Davidson, formally of Bellingham, WA's BelAmi! Fame UUCP: {uucp|uw-beaver}!microsof!t-iaind (How did he move that "t" ???) BITNET: microsof!t-iaind@beaver.cs.washington.edu for really smart mailers: t-iaind@microsoft.BITNET or .CSNET or .UUCP *** Disclaimer: *** My employer and fellow employees will (have, has) disclaim anything I say past, future, or present...... so there !!!!.... :) -----------------------------------------------------------------