Consider an array of MxN order. Which of the following formulae gives the location of the element in Row-major ordering of elements?
Reveal answer
Fill a bubble to check yourself
Consider an array of MxN order. Which of the following formulae gives the location of the element in Row-major ordering of elements?