单项选择题
执行下列程序段后,sum变量的值是()。intsum=0;for(inti=0;i<10;i++;sum+=i)
A.45
B.55
C.0
D.编译错误
点击查看答案&解析

单项选择题
A.45
B.55
C.0
D.编译错误
微信扫一扫,加关注免费搜题