单选题:现有如下程序段 #include"stdio.h" main() {intk[30]={12,324,45,6,768,

  • 题目分类:C语言
  • 题目类型:单选题
  • 查看权限:VIP
题目内容:
现有如下程序段
#include"stdio.h"
main()
{intk[30]={12,324,45,6,768,98,21,34,453,456};
intcount=0,i=0;
while(k[i])
{if(k[i]%2==0‖k[i]%5==0)count++;
i++;}
printf("%d,%d\n",count,i);}
则程序段的输出结果为 A.7,8
B.8,8
C.7,10
D.8,10
参考答案:
答案解析:

It took me excatly a week to complete the work.

It took me excatly a week to complete the work.A.do B.achieve C.improve D.finish

查看答案

下列财政收入中属于中央税的是(  )。

下列财政收入中属于中央税的是(  )。A.消费税 B.增值税 C.城镇土地使用税 D.城市维护建设税 E.关税

查看答案

由权值为9,2,5,7的四个叶子构造一棵哈夫曼树,该树的带权路径长度为_____(50)____。(50)

由权值为9,2,5,7的四个叶子构造一棵哈夫曼树,该树的带权路径长度为_____(50)____。(50)A.23  B.37  C.44  D.46

查看答案

We’ll give every teacher space to develop.

We’ll give every teacher space to develop.A.chance B.employment C.room D.opportu

查看答案

(34)

(34)A.FOREIGNKEY  B.PRIMARYKEY C.FOREIGNKEY(Sno)REFERENCESS  D.FOREIGNKEY(Pno)RE

查看答案