赞题库-背景图
单项选择题

为给字符数组赋初值,下列语句中正确的是(45)。

A.char s1[]="abcdef";
B.char s2[4]="abcd";
C.char s3[2][3]={"abc","xyz"};
D.char s4[4][]={’a’,’x’,’s’,’t’};