有以下程序
#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)); }
程序的运行结果是______。
A.1
B.2
C.3
D.4
正确答案是B
有以下程序
#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)); }
程序的运行结果是______。
A.1
B.2
C.3
D.4
正确答案是B