#include <stdio.h>
typedef int (*func_int_int)(int);
int sqr(int x)
{
return x * x;
}
func_int_int get_f()
{
return sqr;
}
int main(void)
{
func_int_int f = get_f();
int x = f(8);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp0eXBlZGVmIGludCAoKmZ1bmNfaW50X2ludCkoaW50KTsKCmludCBzcXIoaW50IHgpCnsKICByZXR1cm4geCAqIHg7Cn0KCmZ1bmNfaW50X2ludCBnZXRfZigpCnsKICByZXR1cm4gc3FyOwp9CgppbnQgbWFpbih2b2lkKQp7CiAgZnVuY19pbnRfaW50IGYgPSBnZXRfZigpOwoKICBpbnQgeCA9IGYoOCk7CiAgcHJpbnRmKCIlZCIsIHgpOwogIAogIHJldHVybiAwOwp9