单项选择题

以下不能正确进行字符串赋初值的语句是

A.char str[5]="good!";
B.char str[]="good!";
C.char*srt="good!";
D.char str[5]= 'g', 'o', 'o', 'd';