Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!dgp.toronto.edu!flaps From: flaps@dgp.toronto.edu (Alan J Rosenthal) Newsgroups: comp.lang.c Subject: Re: pointers to functions Message-ID: <1989Aug31.165703.13257@jarvis.csri.toronto.edu> Date: 31 Aug 89 20:57:04 GMT References: <1679@hydra.gatech.EDU> <9429@chinet.chi.il.us> Lines: 13 john@chinet.chi.il.us (John Mundt) writes: >If f holds the address of the start of the function, *f really doesn't >have any meaning. True, but if f is a pointer to the function, which is what happens in C, then *f is the function itself, just like if ip is a pointer to an int, *ip is the int pointed to. Pointers and addresses are different, and C only has pointers. (A pointer cannot be implemented by an address; it requires additional type information (usually implicit).) ajr p.s. I know that pf(x) works, and I know why (followup avoidance tactic).