next up previous
Next: class and struct Up: Functions Previous: How do I declare

How do I declare an array of pointers to a function?

typedef int (*pf)(int, char);

pf  pfarray[10]; // array of 10 pointers to a function



Alexis Angelidis (PhD) 2005-01-11