以下不能进行字符串赋初值的语句是()。
A:char *str= “good!”;
B:char str[]= “good!”;
C:char str[5]= {‘g’,‘o’,‘o’,‘d’};
D:char str[5]= “good!”;
出自:考研