問題詳情

38. Given a row-major array A(i,j) is defined as -2 ≤ i ≤6, -6 ≤ j ≤ -2, where the location of A(2,-4) is 100 as the base address and the location of A(4,-3) is 122. Which of the following is the correct storage size for an element stored in the array?
(A)1
(B)2
(C)3
(D) 4
(E) None of the above

參考答案

答案:B
難度:計算中-1
書單:沒有書單,新增