多項選擇題數(shù)據(jù)結構里,結構體變量分為()。

A.結構體指針變量
B.結構體普通變量
C.結構體數(shù)組
D.結構體名稱


您可能感興趣的試卷

你可能感興趣的試題

3.多項選擇題

數(shù)據(jù)結構里,struct student
{
char name[20];
char sex[10];
int age;
int score;
};
定義結構體后,定義變量、數(shù)組賦值正確的是()。

A.struct student s={"張三","男",18,100};
B.struct student stu[3]={{"張三","男",18,100},{"李四","男",19,90},{"王五","男",23,97}};
C.struct student s={"李四";"女";18;100};
D.struct student stu[3]={{"張三",18,"男",100},{"李四",19,"男",90},{"王五",23,"男",97}};