Array of functions
Norman Diamond
diamond at csl.sony.co.jp
Fri Nov 17 22:52:10 AEST 1989
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