Invoking pointers to functions (C sytle)

Dan Bernstein brnstnd at kramden.acf.nyu.edu
Mon Dec 3 07:59:27 AEST 1990


In article <1990Dec1.232604.13487 at zoo.toronto.edu> henry at zoo.toronto.edu (Henry Spencer) writes:
  [ calling a pointer to a function ]
> I'd say the code is clearer
> and more portable if you make the `*' explicit.

More portable, yes. However, it would be clearer if all function calls
were through pointers. The object referred to by a function name is
implemented as a constant pointer to the code of the function; the
language should accurately reflect this.

---Dan



More information about the Comp.lang.c mailing list