看板 TransCSI 關於我們 聯絡資訊
※ 引述《gezi (格子)》之銘言: : ※ 引述《gezi (格子)》之銘言: : Given int a[]=new int[10][10] in Java language, if variable a[5][2] is located : at 1000, what is the location of variable a[7][3]? (a)1240 (b)1040 (c)1084 : (d)1140 (e)none the above (note:an integer takes 4 bytes) : me:e (算不出來orz) 1000 + [ (7-5)*10 + (3-2) ] * 4 = 1084 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.45.58.6