Since its column major and 3-d array.
1st index will show M and 2nd index will show N where,
M = No. of Rows = U1 - L1 + 1 = 8-1+1 = 8
N = No. of Columns = U2 - L2 + 1 = 5-(-5)+1 = 11
A[3][3][3] = Base + Size ( (i-L1) * M*N + (j-L2) + (k-L3)*M )
= 400 + 4 ( (3-1)* 8 *11 + (3-(-5)) + (3-(-10)* 8 ) )
= 400 + 4 ( 176 + 8 + 104 )
= 1552
[Note that in row major 1st index shows array, 2nd shows rows and 3rd columns]
practice it with taking any small 3d array by yourself.