Macros are provided to handle subroutine and function names passed as arguments. They correspond closely to the macros for handling normal data type arguments. The following example shows how to pass the name of an INTEGER function from a C program to a FORTRAN subroutine.
Now suppose in the above example the subroutine TST_IFUN was written in C to be called from FORTRAN. The code would be something like: