Task

Pass a function     as an argument     to another function.



Related task

   First-class functions


void myFuncSimple( void (*funcParameter)(void) )
{
    /* ... */
 
    (*funcParameter)();  /* Call the passed function. */
    funcParameter();     /* Same as above with slight different syntax. */
 
    /* ... */
}