📅  最后修改于: 2022-03-11 14:44:57.029000             🧑  作者: Mango
// function ask for void function with int param
void func ( void (*f)(int) );
// void function with int param :)
void print ( int x ) {
printf("%d\n", x);
}
// pass print function to func
func( print )