网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
若有以下定义和语句:structstudent{intnum,age;};structstudentstu[3]={{1001,20},{1001,19},{1003,21}};structstudent*p=stu;则以下错误的引用是()。

A.(p++)-num

B.p++

C.(*p).num

D.p=stu.age


参考答案

更多 “ 若有以下定义和语句:structstudent{intnum,age;};structstudentstu[3]={{1001,20},{1001,19},{1003,21}};structstudent*p=stu;则以下错误的引用是()。 A.(p++)-numB.p++C.(*p).numD.p=stu.age ” 相关考题
考题 若有以下定义的语句 struct student {int age; int num;}; struct student stu[3]={{1001,20},{1002,19},{1003,21}}; main() {stmct student *p; p=stu; …} 则以下不正确的引用是A.(p++)->numB.p++C.(*p).numD.P=stu.age.

考题 若有以下定义的语句: struct student { int age; int num;}; struct student stu[3]={{1001,20},{1002,19},{1003,21}}; main() { struct student *p; p=stu; …} 则以下不正确的引用是( )。A.(p++)->numB.p++C.(*p).numD.P=stu.age.

考题 若有以下定义的语句struct student{ int age;int num; };struct student stu[3]={{1001,20},{1002,19},{1003,21}};main(){ struct student *p;p=stu;… }则以下不正确的引用是A.(p++)-numB.p++C.(*p).numD.P=stu.age.

考题 设有以下定义和语句,则下面对结构体成员的引用正确的是()。 struct student {int num; int age;}; struct student stu[3]={{1001,20},{1002,19},{1003,20}}; struct student *p; p=stu;A.(p++)→numB.p++→ageC.(*p).numD.p=stu.ageE.*p

考题 以下对结构变量stu1中成员age的非法引用是() struct student { int age; int num; }; struct student stu1, *p; p=stu1;A.stu1.ageB.student.ageC.p->ageD.(*p).age

考题 【单选题】若有以下定义和语句 struct student { int age; int num;}; struct student stu[3]={{1001,20},{1002,19},{1003,21}}; int main() {struct student *p; p=stu;……} 则以下不正确的引用是()。A.(p++)->numB.p++C.(*p).numD.p=stu.ag

考题 若有以下程序段,则使用错误的选项是(). struct student { int num; int age; }; struct student stu[3]={{1001,20},{1002,19},{1004,20}}; void main(); { struct student *p; p=stu; … }A.p++B.(*p).numC.(p++)->numD.p=stu.age

考题 若有以下定义和语句,则选项中不正确的引用是: struct student { int num; int age; }; struct student stu[3]={{1001,20},{1002,19},{1003,21}}; int main() { struct student *p; p=stu; ... }A.(p++)->numB.p++C.(*p).numD.p=stu.age

考题 若有以下程序段,则使用错误的选项是(). struct student { int num; int age; }; struct student stu[3]={{1001,20},{1002,19},{1004,20}}; main(); { struct student *p; p=stu; … }A.p=stu.ageB.(p++)->numC.(*p).numD.p++