.設有一個三維數組a[c:dc:dc:d]其中ci:di是第i維的界偶如該數組在內存中按行排列且a[ccc]的地址為a那麼請導出下標變量a[iii]的地址假設每個元素占L個單元【山東師范大學 四 (分)】
.假定有下列nⅹn矩陣(n為奇數)A=
如果用一維數組B按行主次序存儲A的非零元素問
()A中非零元素的行下標與列下標的關系
()給出A中非零元素aij的下標(ij)與B中的下標R的關系;
()假定矩陣中每個元素占一個存貯單元且B的起始地址為A給出利用aij的下標(ij)定位在B中的位置公式 【上海交通大學 三(分)】
[] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
From:http://tw.wingwit.com/Article/program/sjjg/201311/22774.html