void Sort(int matrix[n][n]) { int i,j,y,x; for (j=1;jx&&y>=0) { matrix [y+1][j]=matrix[y][j]; y--; } matrix[y+1][j] = x; } }