单项选择题

if(表达式1)语句1else 语句2只有A选项是正确的要定义整型数组 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};