下列数组定义并初始化正确的是()
int s[]=(1,2,3,4,5);
int s[5]=1,2,3,4,5;
int s[2+3]={1,2,3};
int s(5)={1,2,3};
AB选项:初值列表要用一对大括号括起来;D选项:数组长度要用一对方括号括起来。