下列程序的运行结果是 【10】 。 #include <stdio.h> main(
题型:填空题
问题:
下列程序的运行结果是 【10】 。 #include <stdio.h> main() { union EXAMPLE { struct{ int x; int y;} in;int a;int b; }e; e.a=1;e.b=2; e.in.x=e.a*e.b; e.in.y=e.a+e.b; printf("%d,%d\n",e.in.x,e.in.y); }
下列程序的运行结果是 【10】 。 #include <stdio.h> main() { union EXAMPLE { struct{ int x; int y;} in;int a;int b; }e; e.a=1;e.b=2; e.in.x=e.a*e.b; e.in.y=e.a+e.b; printf("%d,%d\n",e.in.x,e.in.y); }