📅  最后修改于: 2022-03-11 14:44:52.573000             🧑  作者: Mango
#include
int f1(int x) { return x * 2; }
int f2(int x) { return x * 4; }
int main()
{
int (*fptr1)(int) = &f1;
fptr1 = &f2;
fptr1(3);
}