void fun1() { int m = 5; void (*p)(); void fun2() { printf("fun2: %d\n", m); m = 10; } void fun3() { p(); } p = fun2; fun3(); } main() { fun1(); }