arrays of pointers to functions

Steven Murray Field smf at cup.portal.com
Tue May 8 14:11:51 AEST 1990


Try the following for generic definition:


[extern] func0(), func1(), func2(),...;

static int (*func[])() {func0, func1, func2,...};

Ooops.................^  don't forget the '='.

Steve



More information about the Comp.lang.c mailing list