A-A+

有以下程序#include <stdio.h>struct st{int x y z;} data[2]={3 10 2 20 15 7};main(){

2020-10-12 15:31:08 IT认证 阅读

问题详情

有以下程序#include <stdio.h>struct st{ int x, y, z;} data[2]={3,10,2,20,15,7};main(){ struct st *p=data; printf("%d,", p->y); printf("%d ",(p)->x); }程序的运行结果是A.10,3 B.20,3 C.10,20 D.20,2

参考答案

考点: