C 回调函数

#include “stdio.h”

int num(int(*function()))
{
return function;
}

int getnum(int i, int y)
{
return i + y;
}

int main()
{
int i = num(getnum(1, 2));
printf(“%d”, i);
return 0;
}