two-dimensional array is shown in memory in


Two-dimensional array is shown in memory in following two ways: 

1.  Row major representation: To achieve this linear representation, the first row of the array is stored in the first memory locations reserved for the array, then the second row and so on.

2.  Column major representation: Here all the elements of the column are keeps next to one another. 

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: two-dimensional array is shown in memory in
Reference No:- TGS0282448

Expected delivery within 24 Hours