单项选择题

switch语句能够改写为 (44) 语句。

A.for
B.if
C.do
D.while
<上一题 目录 下一题>
热门 试题

单项选择题
以下程序执行后Sum的值是 (48) 。main() int i,sum; for(i=1;i<6;i++)sum+=i; printf( %d n ,sum);
A.15
B.14
C.不确定
D.0
单项选择题
从一个具有n个结点的单链表中查找值为x的结点时,在查找成功的情况下,需平均比较 (45) 个结点。
A.n
B.n/2
C.(n-1)/2
D.(n+1)/2
相关试题
  • For instance, the line of () wa...
  • RAM only () the data temporarily...
  • It had included the handling of pu...
  • It is called () equipment as wel...
  • Certain keywords or phrases in a h...