Another silly question

T. William Wells bill at twwells.uucp
Fri Apr 28 12:29:58 AEST 1989


In article <2459 at nmtsun.nmt.edu> kelly at titan.nmt.edu (Sean Kelly) writes:
: My CS instructor and I disagree about a certain moot point.  I have a text
: book which says that
:
:       *(a + i)        and     a[i]
:
: are equivalent, given an array a, and int index i

This is a fundamental identity in C. A failure to do this in a
compiler would be considered a *major*, as in withdraw the product,
BUG.

A failure to understand this marks one as not competent to program C.

: What do you think?

Get another CS instructor.

---
Bill                            { uunet | novavax } !twwells!bill



More information about the Comp.lang.c mailing list