问题 单项选择题

若a的值为3时,下列程序段被执行后,c的值是______。
int c=l;
if (a>0)
if (a>3)
c=2;
else c=3;
else c=4;
A. 1 B. 2C. 3D. 4

答案

参考答案:C

多项选择题
问答题 简答题