A question on Function declaration

Abhay B. Joshi joshi at motcid.UUCP
Wed Feb 13 10:44:07 AEST 1991


I would like to  declare a function which returns a pointer to a function
(that returns an integer). I have been unable to strike at the correct
syntax of such a declaration. 

I tried the following (among others):
	((int *)()) func() ;

Doesn't work.

Thanks for any hints/answers.

-- Abhay --



More information about the Comp.lang.c mailing list