Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!unido!gmdzi!wittig From: wittig@gmdzi.gmd.de (Georg Wittig) Newsgroups: comp.lang.c Subject: Re: A question on Function declaration Keywords: pointer function integer Message-ID: <4063@gmdzi.gmd.de> Date: 13 Feb 91 14:34:38 GMT References: <5806@agate.UUCP> Organization: GMD - The German National Research Center for Computer Science Lines: 18 joshi@motcid.UUCP (Abhay B. Joshi) writes: >I would like to declare a function which returns a pointer to a function >(that returns an integer). Script started on Wed Feb 13 15:28:05 1991 % cdecl declare x as pointer to function returning pointer to function returning int int (*(*x)())() ^D% script done on Wed Feb 13 15:28:39 1991 -- Georg Wittig GMD-Z1.IT P.O.Box 1240 | "Freedom's just another word D-W-5205 St. Augustin 1 (Germany) | for nothing left to lose" email: wittig@gmdzi.gmd.de | (from "Me and Bobby McGee", telephone: (+49) 2241 14-2294 | Janis Joplin, Kris Kristofferson)