结构体数组例题2

结构体数组例题二

输出M

struct person
{
    char name[9];
    int age;
};
struct person class[4]={{"Wang",17},{"Zhang",19},{"Ming",18},{"Liu",20}};
cout<

你可能感兴趣的:(结构体数组例题2)