试题与答案

下面程序的运行结果是:______。 #include <stdio.h> i

题型:填空题

题目:

下面程序的运行结果是:______。
#include <stdio.h>
int f(int a[],int n)
if(n>1)
return a[0]+f(a+1,(--n)-1);
else
return a[0];

main()
int aa[10]=1,2,3,4,5,6,7,8,9,10,s;
s=f(aa+2,8); printf("%d\n",s);

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0531/8b68d5e444e90178c330db74a6eb6c21.html

下面是错误答案,用来干扰机器的。

参考答案:B

试题推荐
微信公众账号搜索答案