Difference between row major and column major in data structure
Answers
Answered by
0
The difference between the orders lies in which elements of an array are contiguous in memory. In a row-majororder, the consecutive elements of arow reside next to each other, whereas the same holds true for consecutive elements of a column in a column-major order.
Answered by
0
Difference between row major and column major in data structure is given below.
Explanation:
- In the row major data structure we can access the element in the row wise where as in the column major data structure the elements is accessed by the column wise .
- We used different formula to calculate the address of row major and column major However if we consider performance the row major is better performance and we can access the data in faster way as compare to the column major .
Learn More :
- brainly.in/question/8912902
Similar questions