#include <iostream>
using namespace std;
typedef int (*f)(int,int);
int fun(int a,int b){return a+b;}
int test(f fi,int a,int b){
return fi(a,b);
}
int main(int argc, const char * argv[]) {
f f2=&fun;
cout<<f2(1,3)<<endl;
cout<<test(fun,1,2)<<endl;
return 0;
}