Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpfcso!hpfelg!jk From: jk@hpfelg.HP.COM (John Kessenich) Newsgroups: comp.lang.c Subject: Re: The right-left rule Message-ID: <690016@hpfelg.HP.COM> Date: 19 Jul 90 23:18:56 GMT References: <1990Jul16.163612.5344@kfw.COM> Organization: HP Elec. Design Div. -FtCollins Lines: 22 >Problem is how do you declare a pointer to an array of pointers of functions >returning void? Lets see, void (*state_variable)(); read in precedence order would be a pointer to function returning void. To get a pointer to an array of these you need a pointer to one of these, void (**state_variable)(); Reading in precedence order gives a pointer to a pointer to a function that returns void, which is equivalent to saying a pointer to an array of functions returning void. To get an array of pointers to functions returning void, just use void (*state_variable[SIZE])(); -------------- John Kessenich