单选题

假定所有变量均已正确说明,下列程序段运行后x 的值是(     )。

a=b=c=0;x=12;

if(!a)x--;

else x=5:

if(c)x=3:

else x=4:

【正确答案】 B
【答案解析】