单选题

以下选项中,没有编译错误的是(    )

A

char str3[]={'d', 'e ','b','u','g','\0'};

B

char str1[5]="pass",str2[6]; str2=str1

C

char name[10];name="china";

D

char str4[];str4="hello world";

赣ICP备20007335号-2