填空题
有以下程序: #include <stdio.h> main() { int t=1,i=5; for(;i>=0;i--) t*=i; printf("%d/n",t); } 执行后的输出结果是{{U}} 【8】 {{/U}}。
1、
【正确答案】
1、0
【答案解析】
[解析] 本题是计算5*4*3*2*1*0的值,结果为0。
提交答案
关闭