Computer Science, asked by Sowparnika5289, 7 months ago

Given an Array A 20502040 The elements are stored in Column Major Order. What is the starting location of A (32.23)?

Answers

Answered by Anonymous
0

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. While the terms allude to the rows and columns of a two-dimensional array, i.e. a matrix, the orders can be generalized to arrays of any dimension by noting that the terms row-major and column-major are equivalent to lexicographic and colexicographic orders, respectively.

Mark as brilliant answer

Similar questions