• 2022-07-25
    以下各项用于定义结构体类型,并定义结构体变量,其中正确的是________。
    A: struct student { char num[5]; int score; }; student stu1,stu2;
    B: struct student{ char num[5]; int score;};struct student stu1 stu2;
    C: struct student { char num[5]; int score=96; }; struct student stu1,stu2;
    D: struct student{ char num[5]; int score;};struct student stu1,stu2;