试题详情

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

A1

B2

C3

D4