Find the address of a[2][3] of the array a[10][10] using row major and column major address calculation if data size is 4 bytes and base address is 1000.
Answers
Answered by
1
Answer:
ROW MAJOR ANS IS 1092
Explanation:
METHOD IS DISPLAY IN ATTACHMENT GIVEN
Attachments:
Answered by
0
Answer:
1)row major order
2)column major order i think it should be simple enough as we have to just see the differerence from base address
and what about if some negative subscripts are given like a[12,-5} is it possible for an array to have negative subscript
Explanation:
Similar questions