Another silly question
Mark A Terribile
mat at mole-end.UUCP
Sat Apr 29 17:00:07 AEST 1989
> > *(a + i) and a[i]
> > are equivalent, given an array a, and int index i ... [ ARE THEY?? ]
> Oy vey! Of course ... that is how subscripting is *defined* in C. ...
> K&R state quite literally that the two expressions are identical, and [that]
> a[ i ] is the same as i[ i ]
Of course, that should read
a[ i ] is the same as i[ a ]
Pardon my gaffe!
Is this group c.beginners ?
--
(This man's opinions are his own.)
>From mole-end Mark Terribile
More information about the Comp.lang.c
mailing list