设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]
📱 扫码体验刷题小程序
扫一扫使用我们的微信小程序