Question: Suppose a 2 - dimensional array is declared as: int a [ 1 5 ] [ 2 0 ] ; Let us assume the following:

Suppose a 2-dimensional array is declared as: int a[15][20];
Let us assume the following:
32-bit machine architecture is used
Row-major order layout for arrays is used
Base Address of the array is 1000(in decimal).
What will be the location of a[7][16](in decimal)?
Suppose a 2 - dimensional array is declared as:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!