assume c++ the accessing formula for addr(A[i][j][k]) If A isdeclared in C++ by
typex A[m][n][p].
I have an answer for row-major which is
addrA[0][0][0] + (i*n*e*p) + (j*e*p) + (k*e)
I think this is row-major.
I want to know col-major 3D array accessing formula.
Thank you!
Expert Answer
An answer will be send to you shortly. . . . .