The following code transposes the elements of an M × M array, where M is a constant defined by #define:
When compiled with optimization level –O1, GCC generates the following code for the inner loop of the function:
We can see that GCC has converted the array indexing to pointer code.
A. Which register holds a pointer to array element A[i][j]?
B. Which register holds a pointer to array element A[j][i]?
c. What is the value of M?
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.