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

要定义整型数组 x,使之包括初值均为 1 的三个元素,下列语句正确的是

A.static int x[3]={1};
B.int x[]={1};
C.int x[3]={1,1,1};
D.int x={1,1,1};