单项选择题
以下不能正确进行字符串赋初值的语句是()。
A.charstr[5]="good!";
B.charstr[]="good!";
C.char*str="good!";
D.charstr[5]={’g’,’o’,’o’,’d’};
点击查看答案&解析
相关考题
