Question: 3. A two-dimensional array Salary defined as follows in C++/Java: (17 points) float Salary[128][12]; We assume that the array is stored in row-major order in

3. A two-dimensional array Salary defined as follows in C++/Java: (17 points) float Salary[128][12]; We assume that the array is stored in row-major order in computer memory. a) A float element occupies 4 bytes of memory space. The start memory address of this 4 array is 1000. Calculate the memory address for the element Salary[85][9]. b) Draw the compile-time descriptor for the array Salary
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
