int fun1() { return 0; } int fun2() { return 0; } int main() { int (*p)() = fun1; //函数指针 p = fun2; return 0; }