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

大学网课 已帮助 人

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

A.char b[10];b="Hello!" ;

B.char b[10]={"H","e","l","l","o","!"};

C.char b[10];strcpy(b, "Hello!");

D.char b[10]= "Hello!"

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

热搜:关系运算符对字符数组中的字符串进行比较