单选题:What value will the variable x be after executing the following
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
```
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