问题 填空题

有以下程序:
main()
int t=1, i=5;
for(; i>=0; i--)t*=i;
printf("% d\n", t);

执行后的输出结果是 【5】

答案

参考答案:0

解析: for循环执行完成后t=5×4×3×2×1×0=0。

选择题
填空题