Assume that both the arrays (A & B) are of same size and arestored contiguously. I and N are
scalar variables. In the code identify variables which exhibittemporal locality and variables
which exhibit spatial locality. Provide justification for youranswer to get full credit.
for (I=0; I < n; I++)
A[I] = B[0] + 7;
Expert Answer
An answer will be send to you shortly. . . . .