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)?

Submitted by: Administrator
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
Submitted by: Administrator

Read Online Aptitude Job Interview Questions And Answers