Type of function returning function.

John Baldwin johnb at srchtec.UUCP
Fri Jul 13 22:52:08 AEST 1990


In article <1990Jul11.165805.14866 at Neon.Stanford.EDU>,
 dkeisen at Gang-of-Four.Stanford.EDU (Dave Eisen) writes:
>
>int (*bar ()) ()
>{
>  return foo;
>}
>
>should work fine.
>

Not to the best of my knowledge.  "Bar" is already defined as a function
and here it is being defined again.  Or did you mean something different?
-- 
____________________________________________________________________________
John T. Baldwin			| The opinions expressed are not my own, nor
search technology, inc.		| do they belong to my employer.
johnb at srchtec.uucp		| They came from outer space.



More information about the Comp.lang.c mailing list