Answers

Question and Answer:

  Home  Aptitude

⟩ In a two-dimensional array, X (9, 7), with each element occupying 4 bytes of memory, with the address of the first element X (1, 1) is 3000, find the address of X (8, 5)?

In a two-dimensional array, X (9, 7), with each element occupying 4 bytes of memory, with the address of the first element X (1, 1) is 3000, find the address of X (8, 5).

Ans: 3000 + 4(8 * 7) + 4 * 5

= 3000 + 224+ 20

= 3244

 257 views

More Questions for you: