C declarations
jim at ISM780B.UUCP
jim at ISM780B.UUCP
Thu Feb 7 15:48:33 AEST 1985
>Well, I look at it this way: foo[] is an array whose location and/or size is
>variable and thus needs to be declared as a pointer,
Except in the case of a parameter declaration, this is not correct.
The location and size of foo are *unknown*, but not variable.
foo is not a pointer; it is a *reference* to a fixed sized and located
array defined somewhere else.
-- Jim Balter, INTERACTIVE Systems (ima!jim)
More information about the Comp.lang.c
mailing list