选择题1. 若有以下结构体定义:struct p{ int x;int y;}xy;则( )是正确的引用或定义。
A. p.x=100;
B. Struct p xy2; xy2.x=100;
C. struct xy2; xy2.x=100;
D. struct p xy2={100};
若有以下说明,能正确引用"Li Ming"的方式是()。struct student{ int name;int num;}stu1[2]={{ "Ma Hong",18},{"Li Ming",17;struct stu *p=stu1;
A. stu1[1].name
B. p->name
C. stu1.name
D. (*p++).name