Answer
If R is the number of rows in the matrix, the formula is R(J - 1) + (I - 1).
Work Step by Step
A formula for finding the entry in the ith row and jth column of a two-dimensional array if it is stored in column major order rather than row major order is:
-If R is the number of rows in the matrix, the formula is R(J - 1) + (I - 1).