【单选题】
有以下的定义语句:structstudent{intnum;charname[9];};则不能正确定义结构数组并赋初始值的是()。
①
structstudentstu[2]={1,zhangsan,2,lisi};
②
structstudentstu[2]={{1,zhangsan},{2,lisi}};
③
structstu[2]={{1,zhangsan},{2,lisi}};
④
structstudentstu[]={{1,zhangsan},{2,lisi}};
【多选题】
以下各组选项中,不能正确定义二维实型数组s的选项是()
①
float s[3][4];float s[ ][4];float s[3][ ]={{1},{0}}
②
float s(3,4);float s[ ][ ]={{0};{0}};float s[3][4]
③
float s[3][4];float s[ ][4]={{0},{0}}; float s[ ][4]={{0},{0},{0}}
④
float s[3][4];float s[3][ ];float s[ ][4]