试题详情

以下程序的输出结果是()。 long fun( int n) { long s; if(n==1||n==2)s=2; else s=n-fun(n-1); return s;} main() { printf("%ld\n", fun(3)); }

A1

B2

C3

D4