3 ms·
Sorry, I screwed up. I skimmed the question and mis-remebered it when making my post. I thought the question looked like: for(i=0... for(j=0... A
by dagw 14y ago
Sorry, I screwed up. I skimmed the question and mis-remebered it when making my post. I thought the question looked like:
for(i=0...
for(j=0...
A[i][j]=0;
vs
for(i=0...
for(j=0...
A[j][i]=0;
In which case C vs Fortran makes a difference to the way multidimensional arrays are stored in memory.