单选题
若有如下程序段,则与其功能等价的赋值语句是( )。
int s,a,b,c;
for(b=1;b<=c;b++) s=s+1;
(A)s=a+b; (B)s=a+c; (C)s=s+c; (D)s=b+c;
A
B
C
D
【正确答案】
B
【答案解析】
提交答案
关闭