• 2022-07-27
    下列表达式中正确的是()。
    A: struct person{
    int age;
    char
    name[8];
    char sex;
    }personl,person2;
    B: struct person{
    int
    age;
    char
    name[8];
    char sex;
    } person
    personl,person2;
    C: struct person{
    int
    age;
    char
    name[8];
    char sex;
    };personl,person2;
    D: struct person{
    int
    age;
    chat
    name[8]="WangLin";
    char
    sex="M";
    } person1
  • 举一反三