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

单选题:What will appear on the screen after executing the following pro

Luz5年前 (2021-05-10)题库588
What will appear on the screen after executing the following program?
```
int main()
{
int a = 2, b = -1, c = 2;
if(a < b)
if(b < 0)
c = 0;
else c++;
printf("%d\n",c);
return 0;
}
```

@[C](1)

A. 0
B. 1
C. 2
D. 3




A.0
B.1
C.2
D.3


答案:C