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