[单选题]

若有下面的说明和定义

struct test

{ int ml; char m2; float m3;

union uu {char ul[5]; int u2[2];} ua;

} myaa;

则sizeof(struct test )的值是

A.12

B.16

C.14

D.9

参考答案与解析:

相关试题

若有下面的说明和定义:structtest{int m1;char m2;flo

[单选题]若有下面的说明和定义: struct test { int m1; char m2; float m3; union uu {char u1[5]; int u2[2];}ua; }myaa; 则sizeof(stmct test)的值是( )。A.12B.16C.14D.9

  • 查看答案
  • 若有下面的说明和定义:struct test{int m1;Char m2;fl

    [单选题]若有下面的说明和定义: struct test { int m1;Char m2;float m3; union uu{char u1[5];int u2[2];}ua; } myaa; 则sizeof(struct test)的值是A.12B.16C.14D.9

  • 查看答案
  • 若有下面的说明和定义,则sizeof(structaa)的值是 structaa

    [单选题]若有下面的说明和定义,则sizeof(struct aa)的值是struct aa{ int r1; double r2; float r3;union uu{char u1[5];long u2[2];}ua;} mya;A.30B.29C.24D.22

  • 查看答案
  • 若有下面的说明和定义,则sizeof(struct aa)的值是struct a

    [单选题]若有下面的说明和定义,则sizeof(struct aa)的值是 struct aa { int rl;double r2;float r3; union uu{char u1[5];long u2[2];}ua; } mya;A.30B.29C.24D.22

  • 查看答案
  • 若有下面的说明和定义,则sizeof(struct aa)的值是()。struc

    [单选题]若有下面的说明和定义,则sizeof(struct aa)的值是( )。 struct aa { int r1; double r2; float r3; union uu{char u1[5];long u2[2];}ua; } mya;A.30B.29C.24D.22

  • 查看答案
  • 若有下面的说明和定义,则sizeof(struct aa) 的值是struct

    [单选题]若有下面的说明和定义,则sizeof(struct aa) 的值是 struct aa { int rl;double r2;float r3; union uu {char ul [5];long u2[2]}ua; }mya;A.30B.29C.24D.22

  • 查看答案
  • 若有下面的说明和定义,则sizeof(struct aa)的值是______。s

    [单选题]若有下面的说明和定义,则sizeof(struct aa)的值是______。 struct aa { int r1;double r2;float r3; union uu{char ul[5]long u2[2]}ua; }mya;A.30B.29C.24D.22

  • 查看答案
  • 若有以下定义和语句union data{ int i; char c; floa

    [单选题]若有以下定义和语句union data{ int i; char c; float f; } x;int y;则以下语句正确的是A.)x=10.5;B.)x.c=101;C.)y=x;D.)printf("%d/n",x);

  • 查看答案
  • 若有下面的说明这定义:struct test{ int m1;char m2;f

    [单选题]若有下面的说明这定义:struct test{ int m1; char m2; float m3; union uu { char u1[5]; int u2 [2];} ua;} myaa; 则 sizeof (struct test )的值是A.12B.16C.14D.9

  • 查看答案
  • 若有下面说明和定义:struct test{ int m1;char m2;fl

    [单选题]若有下面说明和定义:struct test{ int m1;char m2;float m3;union uu(char u1[5];int u2[2];)ua;}myaa; 则sizeof(struct test)的值是( )。A)20 B)16C)14 D)9

  • 查看答案