Define row major order and column major order. Give access functions for both of these arrangements for two-dimensional arrays?
Answers
Answered by
1
Answer:
The difference between the orders lies in which elements of an array are contiguous in memory. In row-major order, the consecutive elements of a row reside next to each other, whereas the same holds true for consecutive elements of a column in column-major order.
Explanation:
Similar questions
Social Sciences,
5 months ago
Business Studies,
10 months ago
Biology,
10 months ago
Biology,
1 year ago
Geography,
1 year ago