I was asked this question in examination. A square matrix $M$ of size $10 \times 10$ is stored in memory with each element requiring 4 bytes of storage. If the base address at $M$ is $1840$, determine the address at $M$ when the matrix $M$ is stored row majorwise. I seriously don't understand this question at all. What kind of problem is this? How to solve these kind of problems?
Is this a homework question? What is the point you exactly don't get? M is a memory location stored at some address like 0x5468792. M is another one like 0x5478954 (numbers are not correct). The question asks you to compute the address in a multi-dimensional array, given the first pointer.