下面程序的输出是______。 typedef union { long x[2]; int y[4]; char z[8]; }MYTYPE; MYTYPE them; mare() { printf("%d\n",sizeof(them));}A.32B.16C.8D.24

下面程序的输出是______。 typedef union { long x[2]; int y[4]; char z[8]; }MYTYPE; MYTYPE them; mare() { printf("%d\n",sizeof(them));}

A.32

B.16

C.8

D.24


相关考题:

下面程序的输出是()typedefunion{longx;inty;charz;}MYTYPE;MYTYPEthem;main(){printf("%d\n",sizeof(them));}。 A.32B.16C.8D.4

下面程序的输出是______。 typedef union { long x[2]; int y[4]; char z[8]; }MYTYPE; MYTYPE them; main() { printf("%d\n",sizeof(them));}A.32B.16C.8D.24

以下程序的输出结果是 typedef union{long x[2] int y[4]; char z[8]; } MYTYPE; MYTYPE them; main() { printf("%d\n",sizeof(them));}A.32B.16C.8D.24

下面程序的输出是_______。 typedefunion { longx[2]; int y[4]; char z[8]; }MYTYPE; MYTYPEthem; main() { printf("%d\n",sizeof(them));}A.32B.16C.8D.24

以下程序执行后的输出结果是include using namespace std;void try(int,int,int,int) 以下程序执行后的输出结果是 #include <iostream> using namespace std; void try(int,int,int,int); int main () { int x,y,z,r; x =1 ; y = 2; try(x,y,z,r); cout<<r<<endl; return 0; } void try(int x,int y,int z,int r) { z = x+y; x = x*x; y = y*y; r = z+x+y; }A.18B.9C.10D.不确定

以下程序执行后的输出结果是includeusing namcspace std;void try(int,int,int,int); 以下程序执行后的输出结果是 #include<iostream> using namcspace std; void try(int,int,int,int); int main() { int x,y,z,r; x=1; y=2; try(x,y,z,r); cout<<r<<end1; return 0; } void try(int x,int y, int z,int r) { z = x+y; x = x*x; y = y*y; r = z+x+y; }A.18B.9C.10D.不确定

对于下面的程序,说法正确的是 include void main( ) {int x=3,y=4,z=2; i 对于下面的程序,说法正确的是 #include<iostream.h> void main( ) { int x=3,y=4,z=2; if(X=y+z) cout <<"x=y+Z"; else cout<<"x!=y+Z";}A.不能通过编译B.输出6C.输出x! =y+zD.输出x=y+z

【填空题】以下程序输出的结果是 。 typedef union{long x[2];int y[4];char z[8];}MYTYPE; MYTYPE them; void main() { printf(“%dn”,sizeof(them)); }

执行下面程序段后,z的值是 。 int x,y,z; x=2/4*7; y=2/4*7.0; z=(int)(2/4.0*7);