选择题
有以下程序
#include <stdio,h>
main()
A、
-1
B、
0
C、
1
D、
7
【正确答案】
A
【答案解析】
当a为0时,a--表达式为0,条件为假,循环结束,执行判断条件后a 为-1,所以选择A)。
提交答案
关闭