题库 第5946页
单选题:Which expression evaluates 0 ?
Which expression evaluates 0 ? @[A](2)A. 3/5B. 3˂5C. 3%5D. 3/5.0A.3/5B.3˂5C.3%5D.3/5.0答案:A…
单选题:What does the variable x evaluate after executing the following
What does the variable x evaluate after executing the following piece of code?@[A](2)```int a = 0, b = 0, c = 0, x = 35;…
单选题:The expression ___can NOT express the statement "both x and y ar
The expression ___can NOT express the statement "both x and y are zero". @[C](2)A. x==0 && y==0B. !x && !yC. x==0 || y…
单选题:What value will the variable i be after executing the following
What value will the variable i be after executing the following section of code? @[D](2)```int i=1; switch(i){case 0: i+…
单选题:Which is correct according to the following piece of code?
Which is correct according to the following piece of code? @[A](2)``` if(x˃y) x=y; y=x; else x++; y++;printf(“%d,%d”,x…
单选题:What does the variable x evaluate after executing the following
What does the variable x evaluate after executing the following piece of code?@[B](2)```int a = 0, b = 0, c = 0, x = 35;…
单选题:What is the output of the following piece of code?
What is the output of the following piece of code? @[D](2)```int n = 9;while (n ˃ 6) { n--; printf("%d", n);}```A. 876…
单选题: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…