Calling a function via a function pointer

The following two calls to the function are equivalent:

Code example

m = fp(a);  // call via function pointer
m = foo(a); // direct call to foo