作者NTUSTCSIE (郭台銘只會作秀&打嘴炮)
看板Grad-ProbAsk
標題[理工] 計組(94台大電機)
時間Thu Mar 19 18:14:21 2009
(94台大電機)
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;
這題解答看不懂~ 說實在的題目程式碼那邊也不知道它在幹嘛...
請高手幫解一下~謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.139.59.89
1F:推 nuendo:以big endian排11121314ABCDEFG2122嗎? 看起來好像是... 03/19 18:41
※ 編輯: NTUSTCSIE 來自: 220.139.59.89 (03/19 18:44)