若有以下说明和定义语句,则下面引用形式中不正确的是 ()。 struct student { int age; int num; }; struct student stu[3]={{1001,20}

来源:收集

若有以下说明和定义语句,则下面引用形式中不正确的是()。structstudent{intage;intnum;};structstudentstu[3]={{1001,20}

若有以下说明和定义语句,则下面引用形式中不正确的是()。structstudent{intage;intnum;};structstudentstu[3]={{1001,20},{1002,19},{1003,21}};structstudent*p;p=stu;

A.(p++)->num

B.p++

C.(*p).num

D.p=&stu.age

正确答案:D

你会喜欢下面的文章?