arrays, anyone?
Doug Gwyn <gwyn>
gwyn at brl-tgr.ARPA
Fri Sep 13 23:08:24 AEST 1985
> In article <2748 at sun.uucp> guy at 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.
There sure are a lot of turkeys "contributing" to this newsgroup.
Guy Harris was right. Don't they teach reading in school these days?
More information about the Comp.lang.c
mailing list