Accessing matrix elements


A matrix A[i][j] is given. If we want to add the elements of the matrix which method is better & why?
1) column wise 2) row wise
Does it matters on which language we are using?
Give your explanation..

Comments

Popular posts from this blog