🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #981

Array of functions [repost]

#981
From: Norman Diamond
Date: Tue, 21 Nov 1989 06:43
15 lines
1146 bytes
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".
Technical Details
Message-ID: <11159@riks.csl.sony.co.jp>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!kddlab!titcca!sragwa!wsgw!socslgw!diamond

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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