#include
#include
#include
int add (int a,int b)
{
return a+b;
}
int ajj (int a,int b)
{
return a-b;
}
int chen (int a,int b)
{
return a*b;
}
float chu(float c,float d)
{
return c/d;
}
int main(int argc, char *argv[])
{
int a=20;
int b=10;
float c=30,d=20;
int (*p)(int,int);
float (*q)(float,float);
p=add;
printf("%d\n",(*p)(a,b));
p=ajj;
printf("%d\n",(*p)(a,b));
p=chen;
printf("%d\n",(*p)(a,b));
q=chu;
printf("%f\n",(*q)(c,d));
return 0;
}