pointers to functions

Alan J Rosenthal flaps at dgp.toronto.edu
Wed Sep 13 08:11:35 AEST 1989


gwyn at smoke.BRL.MIL (Doug Gwyn) writes:
 >>> If f holds the address of the start of the function, *f really doesn't
 >>> have any meaning.  
 >>It certainly does.  *f means the function that starts at f.
 >What could you do with it, other than immediately & it again?

Call it, of course!
(In an ideal language, that is, not C where you call it via the pointer.)



More information about the Comp.lang.c mailing list