Path: utzoo!attcan!uunet!kddlab!titcca!sragwa!wsgw!socslgw!diamond From: diamond@csl.sony.co.jp (Norman Diamond) Newsgroups: comp.std.c Subject: Array of functions [repost] Message-ID: <11159@riks.csl.sony.co.jp> Date: 21 Nov 89 06:43:52 GMT Reply-To: diamond@ws.sony.junet (Norman Diamond) Organization: Sony Computer Science Laboratory Inc., Tokyo, Japan Lines: 15 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@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".