[商管] [資管] [Array]求記憶體位置
全部題目是這樣:
------------------------------------------------------------------------------
Given a four dimensional integer array A(3,4,5,6),
and its data is stroed sequentially starting from memory address A0F0:0100.
Assume an integer occupies 4 bytes.
(a) Find the address of element A(1,2,3,4) for the row-major order and for
the column-major order.
(b) Why most of the computer languages use row-major?
------------------------------------------------------------------------------
想請問一下這兩題的答案和過程,麻煩各位先進了...
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 123.193.140.152
※ 編輯: MyConquesT 來自: 123.193.140.152 (03/17 20:19)
→
03/17 20:20, , 1F
03/17 20:20, 1F
→
03/17 20:20, , 2F
03/17 20:20, 2F