[Correct me if wrong... Im getting 5240 ]
Let D 3D Array be represented as $A\left [ lb1....ub1,lb2....ub2,lb3...ub3 \right ]$
Given Array : $A\left [ 1....8,-5....5,-10...5 \right ]$
3D array is $A\left [ 8,11,16 \right ]$ .
A[i,j,k] = Base Address
+ [ 3D Cross
+ 2D Cross
+ 1D Cross ] * Size of one element
3D Cross
$ (k-lb3) = 3- (-10) =13$ layers are to be crossed
Each layer having row * coloum number of elements
Total number of elements to be crossed = 13 * 8*11 = 1144
2D Cross
$ (j-lb2) = 3- (-5) =8$ coloums are to be crossed
Each column having " row " number of elements
Total number of elements to be crossed = 8*8 = 64
1D Cross
We are reached last coloumn . It will have
$ (i-lb1) = 3- (1) =2$ elements to be crossed
Hence
A [3,3,3] = 400
[+ 1144
+ 64
+ 2 ] * 4
= 400 + 4840
=5240