[单选题]

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

A . chars1[]="abcd";

B . chars2[3]="xyz";

C . chars3[][]={’a’,’x’,’y’};

D . chars4[2][3]={"xyz","mnp"};

参考答案与解析: