问题详情
以下不能正确进行字符串赋值初值的语句是()。
A.char str[5]="good!";
B.char str[]="good!";
C.char *str="good!";
D.char str[5]={"g","o","o","d");
请帮忙给出正确答案和分析,谢谢!