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

单选题:After execute the following program, which one of the following

Luz5年前 (2021-05-10)题库784
After execute the following program, which one of the following option will be printed on screen?
```
void fun(int);
main( )
{
int w=2;
fun(w);
}
void fun(int k)
{ if (k>0) fun(k-1);
printf(“%d”,k);
}
```
@[B](1)

A. 210
B. 012
C. 0
D. 201




A.210
B.012
C.0
D.201


答案:B