Correction for the RE: Correction, a[33]
Iain Davidson
t-iaind at microsoft.UUCP
Sat May 27 07:01:14 AEST 1989
In article <5819 at microsoft.UUCP> you write:
>..
>Something that went un-noticed in a few messages:
>char a[33]
>is not an array of 33*sizeof (int) but really 33 (0..32) slots !!!!!
>Remember C is start base 0 not 1.
>0..32 = 33 slots of int's.
>char a[9] holds 9 characters (0..9) !!!!
>(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 !!!!.... :)
>-----------------------------------------------------------------
I never pretend that I know about "C", but.....
Ooooppppsss, The caffine haze has come again. Please ignore the above
message. I was trying to make a point, but the numbers were all WRONG...
all wrong... all wrong... (-1) That's what I get posting in a group that I
rarely post in--and posting at 2 am in the morning.....
argghhhh.... Wrong words/numbers, right idea. :-<
Iain
o o
L
_---_
More information about the Comp.lang.c
mailing list