#include <iostream>
using namespace std;
typedef void (*Func)(int,int);
void sum(int a,int b)
{
cout << "a+b = " << a + b << endl;
}
void multi(int a,int b)
{
cout << "a*b = " << a*b << endl;
}
int main(int argc,char* argv[])
{
Func func;
func = sum;
func(1,2);
func = multi;
func(3,4);
return 0;
}