单选题:不能把字符串:Hello!赋给数组b的语句是(  )。

  • 题目分类:C语言
  • 题目类型:单选题
  • 查看权限:VIP
题目内容:
不能把字符串:Hello!赋给数组b的语句是(  )。 A.char b[10]={’H’,’e’,’l’,’l’,’o’,’!’};
B.char b[10]; b="Hello!";
C.char b[10]; strcpy(b,"Hello!");
D.char b[10]="Hello!";

参考答案:
答案解析:

以下程序的输出结果是(  )。int x=10,y=10; printf(“%d %d\n”,x--,--y);

以下程序的输出结果是(  )。int x=10,y=10; printf(“%d %d\n”,x--,--y); A.10 10 B.9 9   来源:考试

查看答案

C语言的预处理语句以__________开头。

C语言的预处理语句以__________开头。

查看答案

C语言中以只读方式打开一个文件应选择_______________参数。

C语言中以只读方式打开一个文件应选择_______________参数。A.“r” B.“w” C.“rb” D.“a”

查看答案

Which of the following was the immediate cause that made Kin

Which of the following was the immediate cause that made King change his view on

查看答案

The river widens considerably as it begins to turn west.

The river widens considerably as it begins to turn west.A.twists B.stretches C.b

查看答案