Correction, a[33]

Paul Canniff 2/1011 paulc at microsoft.UUCP
Sat May 27 04:23:42 AEST 1989


In article <5819 at microsoft.UUCP> t-iaind at microsoft.UUCP (Iain Davidson) writes:
>
>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  :)

I have sent the requested flame-mail.

I, along with his employer and probably all his friends, appreciate
his disclaimer.  Please ignore the above posting.  Thank you.

--------------

I also have a wonderful
disclaimer that absolves Microsoft
from all my actions and vice-versa,
but this is so much nicer
and lets me send the above short reply
in spite of the mailer's stupid
line-counting.  Phew!



More information about the Comp.lang.c mailing list