7、选择下面程序的运行结果是b #include <iostream.h> struct stu i int num; char name 10; int age; void fun(stu*p) i cout<<(p). name<<endl; y void maino &stu students3= 9801, Zhang, 203, 9802,Long",21}, 9803,Xue",19}; fun(students+); a Zhang b Xue c Long d.18 C++程序设计课件设计制作:徐龙琴C++程序设计课件 设计制作:徐龙琴 4 7、选择下面程序的运行结果是 #include <iostream.h> struct stu { int num; char name[10]; int age;}; void fun(stu *p) { cout<<(*p).name<<endl; } void main() { stu students[3]={{9801,"Zhang",20}, {9802,"Long",21}, {9803,"Xue",19}}; fun(students+2);} a.Zhang b.Xue c.Long d.18 b