Question
If row-major order is used, how is the following matrix stored in memory?a b cd e fg h i
Answer: Option B
Was this answer helpful ?
It starts with the first element and continues in the same row until the end of row is reached and then proceeds with the next row. C follows row-major order.
Was this answer helpful ?
Submit Solution