Article View: comp.std.c
Article #920Array of functions
From: Norman Diamond
Date: Fri, 17 Nov 1989 11:52
Date: Fri, 17 Nov 1989 11:52
12 lines
1069 bytes
1069 bytes
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".
Technical Details
Message-ID:
<11145@riks.csl.sony.co.jp>Path:
arc1-ca.pugleaf.net!utzoo!yunexus!ists!jarvis.csri.toronto.edu!mailrus!uunet!kddlab!titcca!sragwa!wsgw!socslgw!diamondShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!yunexus!ists!jarvis.csri.toronto.edu!mailrus!uunet!kddlab!titcca!sragwa!wsgw!socslgw!diamond From: diamond@csl.sony.co.jp (Norman Diamond) Newsgroups: comp.std.c Subject: Array of functions Message-ID: <11145@riks.csl.sony.co.jp> Date: 17 Nov 89 11:52:10 GMT Article-I.D.: riks.11145 Reply-To: diamond@ws.sony.junet (Norman Diamond) Organization: Sony Computer Science Laboratory Inc., Tokyo, Japan Lines: 12