阅读下列程序,写出程序运行的输出结果。
voidmain()
{struct{intx;inty;intz;
}xyz={2,4,6},*P=&xyz;
intm;
m=P->x*(*P).y-xyz.z;/*m=2*4-6*/
printf("%d\n",m);
}
【正确答案】:输出结果: 2
                    
                    阅读下列程序,写出程序运行的输出结果。voidmain(){struct{intx;inty;intz;}xyz={2,4,6}
- 2024-08-04 11:38:07
- 高级语言程序设计(一)(00342)
- 1
