当前位置:首页
> Luz 第6104页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论单选题:What is the output of the following piece of code?
What is the output of the following piece of code? @[C](2)``` int num=0, s=0; while(num˂=2){ num+…
单选题:How many times is the loop executed?
How many times is the loop executed? @[C](2)``` int a=0; while (a=0) { printf("%d",a); a--; }ret…
单选题:The following program aims to find out the maximum in a group of
The following program aims to find out the maximum in a group of positive data (ended with 0 as a sentinel), fill in the…
单选题:Supposing `int a[3]; ` Which one is invalid to specify an item
Supposing `int a[3]; ` Which one is invalid to specify an item of array a? @[D](2)A. a[0]B. a[1*2]C. a[4-2]D. a[3]A.a[…
单选题:Which statement can initialize a one-dimensional array?
Which statement can initialize a one-dimensional array? @[C](2)A. int a[10]=(0,0,0,0,0);B. int a[2]={0,1,2};C. int a[]…
单选题:Which line is NOT correct?
Which line is NOT correct? @[B](2)```1. main()2. {3. int i;4. int a[3]={1};5. scanf("%d",&a);6. for(i=1;i˂3;i++) a[0]=…
单选题:According to the statement `int a[3][2]={1, 2, 3, 4, 5, 6} ;` ,
According to the statement `int a[3][2]={1, 2, 3, 4, 5, 6} ;` , which element evaluates 6? @[B](2)A. a[3][2]B. a[2][1…
单选题:Which declaration of the two-dimensional array is valid?
Which declaration of the two-dimensional array is valid? @[C](2)A. int a[3][];B. float a(3,4);C. double a[1][4];D. flo…
单选题:The output of the following program is ( ).
The output of the following program is ( ). @[C](2)```fun(int x, int y, int z){z=x*x+y*y; }main( ) {int a=31;fun(5…
单选题:According to the following function fun definition,
According to the following function fun definition, `void fun(int n, double x) { …… }`which one is the correct callin…