#include <stdio.h>
int f (int i)
{
return (i + 1);
}
int main (void)
{
int x = 4;
int y;
int (*pf) (int i);
pf = f;
y = pf (x);
printf ("%i + 1 = %i\n", x
, y
); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgZiAoaW50IGkpCnsKICAgIHJldHVybiAoaSArIDEpOwp9CgppbnQgbWFpbiAodm9pZCkKewogIGludCB4ID0gNDsKICBpbnQgeTsKICBpbnQgKCpwZikgKGludCBpKTsKICBwZiA9IGY7CiAgeSA9IHBmICh4KTsKICBwcmludGYgKCIlaSArIDEgPSAlaVxuIiwgeCwgeSk7CiAgcmV0dXJuIDA7Cn0=