declarations using pointers to functions
Mark Brader
msb at sq.sq.com
Tue Mar 26 08:31:26 AEST 1991
Chris Torek (torek at elf.ee.lbl.gov) writes:
> Actually, since there are only two cases where the brackets may be empty,
> I would suggest instead reading
> [N] as "array N of"
> and
> [] as "array ? of"
> and NEVER forget the sizes until The Rule allows you to do so.
It's evident from his postings that Chris is happy with this locution.
For those of us who speak normal English, however, I suggest reading
[N] as "array of N ...s"
and
[] as "array of unknown number of ...s".
where ... is replaced by the appropriate type name. I also suggest,
incidentally, reading
* as "pointer to ...s".
Note the plural, which is nonstandard C terminology; this is intended to
emphasize that it may point to the beginning of an array of the type.
--
Mark Brader, Toronto "If you feel [that Doug Gwyn] has a bad attitude,
utzoo!sq!msb, msb at sq.com then use lint (or Chris Torek...)" -- Joe English
This article is in the public domain.
More information about the Comp.lang.c
mailing list