help with a MESSY C definition!!?

dlee at s.cs.uiuc.edu dlee at s.cs.uiuc.edu
Wed Nov 16 16:09:00 AEST 1988


I usually don't have any trouble with C, but this is a glaring exception:  I
need the syntax of definition for an array (of arbitrary size) of pointers to
functions returning pointers to integer (HOW'S *THAT* FOR A DOOZY!!!).  My
closest (possibly correct) guess follows:

	int *(*opfuncs[])() = {
		.
		.
		.
	};

I would appreciate any corrections/verifications.


Thanks in advance,


Doug Lee



More information about the Comp.lang.c mailing list