设struct std {char name[20];char sex; int age;}; struct std s[10],*p=s;,当引用s的第二个元素的成员sex时,与s[1].sex等价的是()。
【正确答案】:(p+1)->sex (或(*(p+1)).sex)
设struct std {char name[20];char sex; int age;}; struct std s[10]
- 2024-08-04 12:06:51
- 高级语言程序设计(一)(00342)