English, asked by paruljhariya21, 3 months ago

how are the elements of a 2D array are stored in the memory ​

Answers

Answered by harsh2576
1

Answer:

A 2D array is stored in the computer's memory one row following another. ... If each data value of the array requires B bytes of memory, and if the array has C columns, then the memory location of an element such as score[m][n] is (m*c+n)*B from the address of the first byte

Similar questions