2000万题库,覆盖所有考试类目,免费查题
今日已更新 1155 道题
2023-12-20 140次 计算机二级 反馈错误 加入收藏 正确率 : 100%
fun(int x)
{ int p;
if(x==0||x==1) return(3);
p=x-fun(x-2);
return p;
}
main()
{ printf("%d/n",fun(7)); }
执行后的输出结果是
A.)7
B.)3
C.)2
D.)0
王老师
回答题目:2621条
(备注:部分简单试题没有解析)
本题链接: https://www.chengdubuxi.cn/zyks/urbh.html