问题 单项选择题

若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

答案

参考答案:C

多项选择题
单项选择题