精華區beta Grad-ProbAsk 關於我們 聯絡資訊
Try to show the following structure in the memory map of a 64-bit Big-Endian machine, by plotting the answer in a two-row map where each row contains 8 bytes. Struct{ int a; //0x11121314 char* c; //"A", "B", "C", "D", "E", "F", "G" short e; //0x2122 }s; Ans. 0 1 2 3 4 5 6 7 11 12 13 14 A B C D E F G 21 22 charactr會做compaction 請問有人知道是什麼意思嗎 & G後面為什麼還需要空一格? -- -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 125.233.85.212
kiyan:對齊half word 08/22 21:47
SONGya168:格式請修正 08/22 22:51