设struct st{char name[10];char sex;int age;}s[100],*q=s;,当引用s的第三个元素的成员age时,与s[2].age等价的是()。
【正确答案】:(q+2)->age(或(*(q+2)).age)
设struct st{char name[10];char sex;int age;}s[100],*q=s;,当引用s的第三个
- 2024-11-05 14:31:17
- 高级语言程序设计(一)(00342)