下列字符串赋值语句中,不能正确把字符串“HelloWorld”赋给数组的语句是()
- A、chara1[]={’H’,’e’,’l’,’l’,’o’,’’,’W’,’o’,’r’,’l’,’d’,’/0’};
- B、chara2[15];strcpy(a2,"HelloWorld");
- C、chara3[15];a3="HelloWorld";
- D、chara4[10]={"HelloWorld"};
正确答案:C
答案解析:有
![](/editor/images/201705/qrcode_for_gh_573e2a458573_258.jpg)
微信扫一扫手机做题
下列字符串赋值语句中,不能正确把字符串“HelloWorld”赋给数组的语句是()
微信扫一扫手机做题