单选题:有以下程序:#include<stdi0.h>main()(int a[]={2,4,6,8,lo),y=1,x,*P

  • 题目分类:C语言
  • 题目类型:单选题
  • 查看权限:VIP
题目内容:
有以下程序:
#include<stdi0.h>
main()
(int a[]={2,4,6,8,lo),y=1,x,*P;
p=&a[1];
for(x=0;x<3;x++)y+=*(p+x);
print{(”%d\n”,Y);
}
程序的输出结果是(  )。 A.17
B.18
C.19
D.20

参考答案:
答案解析:

下面的函数调用语句中func函数的实参个数是( )。rune((f2v1,v2),(v3,v4,v5),(v6,max(

下面的函数调用语句中func函数的实参个数是( )。rune((f2v1,v2),(v3,v4,v5),(v6,max(v7,v8)))A.3 B.4 C.5

查看答案

C语言中,下列不合法的字符串常量是( )。

C语言中,下列不合法的字符串常量是( )。A.”\121” B.'y=' C.”\n\n” D.”ABCD\x6d”

查看答案

Why isn't the word“sir”commonly used in Britain7

Why isn't the word“sir”commonly used in Britain7 A.Because it sounds too servil

查看答案

Both Laptop and Mobile phones sales dipped in the middle of

Both Laptop and Mobile phones sales dipped in the middle of the period, with th

查看答案

Why doesn’t the woman like the tinned meat?

Why doesn’t the woman like the tinned meat?A.Because it’s tasteless. B.Because

查看答案