"若有下面的說(shuō)明和定義, 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.20
若程序中有下面的說(shuō)明和定義,則會(huì)發(fā)生的情況是() struct abc {int x;char y;} struct abc s1,s2;
A.編譯出錯(cuò) B.程序?qū)㈨樌幾g`連接`執(zhí)行 C.能順利通過(guò)編譯`連接`但不能執(zhí)行 D.能順利通過(guò)編譯`但連接出錯(cuò)
A.unionData{inti;charch;floatf;}a B.unionData{inti;charch;floatf;}union Data a C.unionData{inti;charch;floatf;};union a