Consider 3 dimensional Array A[90] [30] [40] stored in linear array in column major order. If the base address starts at 10. The location of A[20] [20] [30] is __________ . [Assume the first element is stored at A[1][1][1] and each element take 1 B].
A(20,30,30)=10 + 30*2700+ 20 + 19 = 81049
ans is 23699 ... where did i go wrong ? Kindly help thanks