#include <stdio.h>
int add(int x,int y);
int main(void)
{
int a=5;
int b=8;
int ans;
int(*p)(int x,int y);
p=add;
ans=(*p)(a,b);
return 0;
}
int add(int x,int y)
{
return x+y;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgYWRkKGludCB4LGludCB5KTsKCmludCBtYWluKHZvaWQpCnsKCWludCBhPTU7CglpbnQgYj04OwoJaW50IGFuczsKCQoJaW50KCpwKShpbnQgeCxpbnQgeSk7CglwPWFkZDsKCWFucz0oKnApKGEsYik7CglwcmludGYoImFucz0lZFxuIixhbnMpOwoJCglyZXR1cm4gMDsKCQp9CgppbnQgYWRkKGludCB4LGludCB5KQp7CglyZXR1cm4geCt5Owp9