通过海量题库、编程比赛和实时排名,系统化提升您的编程能力。
有以下程序
#include <stdio.h> void fun(int n,int *s) { int f; if(n == 1)*s = n + 1; else { fun(n-1,&f); *s = f; } } main() { int x = 0; fun(4,&x); printf("%d\n",x); }
程序运行后的输出结果是()。