Computer Science, asked by santhosh2932, 2 months ago

The address of tenth element in an array is calculated using​

Answers

Answered by bytarikharthik87
0

Answer: dont ask silly qquestions

Explanation:

Answered by bikundiasuman
0

Answer:

Explanation:

Solved Questions based on Array Implementation

ISC Year 2020: A matrix B[10][20] is stored in the memory with each element requiring 2 bytes of storage. If the base address at B[2][1] is 2140, find the address of B[5][4] when the matrix is stored in Column Major Wise.

Address of [I, J]th element in column-major = B + W[R(J – Lc) + (I – Lr)]

= 2140 + 2[10(4 – 1) + (5 – 2)]

= 2140 + 2[10 × 3 + 3]

= 2140 + 2[30 + 3]

= 2140 + 2[33]

= 2140 + 66

= 2206

Similar questions