/* Collection of code snippets by Arne Vajhøj */
/* (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) */
#include <stdio.h>

void f1(int n)
{
   printf("f1=%d\n",n);
}

void f2(int n)
{
   printf("f2=%d\n",n);
}

void ff(void (*f)(int n))
{
   f(123);
}

int main()
{
   ff(f1);
   ff(f2);
   return 0;
}
