>In the second case the address a[i][j] is computed only once and reused. >This is faster both at compilation and execution times. > >An optimizer would convert the first to the second. Assuming none are *volatile*.