-->
当前位置:首页 > 题库

单选题:What value will the variable x be after executing the following

Luz5年前 (2021-05-10)题库605
What value will the variable x be after executing the following section of code?
```
int a = 0, b = 0, c = 0, x = 35;
if (a) x--;
else if (b)
if (c) x = 3;
else x = 4;
```
@[C](1)

A. 34
B. 4
C. 35
D. 3




A.34
B.4
C.35
D.3


答案:C