Array of functions [repost]
Norman Diamond
diamond at csl.sony.co.jp
Tue Nov 21 17:43:52 AEST 1989
This question is also a repost. It seems to have gotten lost between
kddlabs and the rest of the world, and never got a reply.
Section 3.5.4.3 very carefully prohibits a declaration of the form
extern int f()[3]; /* function returning array of 3 integers */
Section 3.5.4.2 does not attempt to prohibit a declaration of the form
extern int f[3](); /* array of 3 functions, each returning int */
What shall be the meaning of such a declaration?
--
Norman Diamond, Sony Corp. (diamond%ws.sony.junet at uunet.uu.net seems to work)
Should the preceding opinions be caught or | James Bond asked his
killed, the sender will disavow all knowledge | ATT rep for a source
of their activities or whereabouts. | licence to "kill".
More information about the Comp.std.c
mailing list