• This simulates access to a 2D array stored in 1D memory: • arr + i*n moves the pointer to the beginning of the i-th row. • + j accesses the j-th column in that row. • So, *((arr + i*n) + j) is equivalent to arr[i][j].