单选题:有下列程序: #include<stdi0.h>voidmain(  ) {char*s={"ABC"); do{pri

  • 题目分类:C++
  • 题目类型:单选题
  • 查看权限:VIP
题目内容:
有下列程序:
#include<stdi0.h>
voidmain(  )
{char*s={"ABC");
do
{printf("%d",*s%10);s++;
}while(*s);
}
注意:字母A的ASCIl码值为65。程序运行后的输出结果是(  )。 A.5670
B.656667
C.567
D.ABC

参考答案:
答案解析:

设有定义“intx=2;”,下列表达式中,值不为6的是(  )。

设有定义“intx=2;”,下列表达式中,值不为6的是(  )。 A.X*=x+1 B.x++,2*x C.x*=(1+x) D.2*x,x+=2

查看答案

将E—R图转换为关系模式时,实体和联系都可以表示为(  )。

将E—R图转换为关系模式时,实体和联系都可以表示为(  )。 A.属性 B.键 C.关系 D.域

查看答案

Why do plant breeders try hard to improve peaches'?

Why do plant breeders try hard to improve peaches'?A.To get better shaped fruit

查看答案

______a supporter of this basketball club for many years no

______a supporter of this basketball club for many years now. A.will be B.was C

查看答案

What does the man think of the last surprise party?

What does the man think of the last surprise party?A.Satisfactory. B.Unusual. C

查看答案