单项选择题

a的值为3时,下列程序段被执行后,c的值是( )。
int c=1;
if (a<0)
if (a<3) c=2;
else c=3;
else c=4;

A.1
B.2
C.3
D.4
题目列表

你可能感兴趣的试题

微信扫码免费搜题