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