单项选择题

下列对字符数组进行初始化的语句中,______ 是正确的。

A.char s 1[]=“abcd”;
B.char s2 [3]=”xyz”;
C.char s 3[] [3]={‘a’,‘x’,‘y’}
D.char s3 [][3]={“xyz”,“mnp”};
热门 试题