單項(xiàng)選擇題有以下的定義語(yǔ)句:structstudent{intnum;charname[9];};則不能正確定義結(jié)構(gòu)數(shù)組并賦初始值的是()。

A.structstudentstu[2]={1,"zhangsan",2,"lisi"};
B.structstudentstu[2]={{1,"zhangsan"},{2,"lisi"}};
C.structstu[2]={{1,"zhangsan"},{2,"lisi"}};
D.structstudentstu[]={{1,"zhangsan"},{2,"lisi"}};


您可能感興趣的試卷