Path: utzoo!attcan!uunet!samsung!usc!apple!motcsd!hpda!hpcuhb!hpcllla!hpclisp!hpclwjm!walter From: walter@hpclwjm.HP.COM (Walter Murray) Newsgroups: comp.std.c Subject: Re: Array of functions Message-ID: <12570033@hpclwjm.HP.COM> Date: 20 Nov 89 18:19:13 GMT References: <11145@riks.csl.sony.co.jp> Organization: Hewlett-Packard Calif. Language Lab Lines: 11 Norman Diamond writes: > 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? Behavior is undefined because it's an erroneous program construct. Section 3.1.2.5 disallows arrays of functions. Walter Murray ----------