Consider a two-dimensional array arr[20][20] which has base address = 1000 and the number of bytes per element of the array = 4. Now, compute the address of the element arr[9][6] assuming that the elements are stored in column-major order.
Consider a two-dimensional array arr[20][20] which has base address = 1000 and the number of bytes per element of the array = 4. Now, compute the address of the element arr[9][6] assuming that the elements are stored in column-major order.
Share
THANKS FOR ASKING:
YOU CAN SUPPORT US BY VOTING UP ANSWERS AND
SELECTING OUR ANSWER AS THE BEST ANSWER.