Correction, a[33]

Iain Davidson t-iaind at microsoft.UUCP
Fri May 26 17:07:41 AEST 1989


..

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 at beaver.cs.washington.edu
    for really smart mailers:  t-iaind at 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 !!!!....  :)
-----------------------------------------------------------------



More information about the Comp.lang.c mailing list