Răspunsuri

Cel mai inteligent răspuns!
2014-05-30T21:40:41+03:00
Int main()
{
//citeste matrice
for(i=1;i<=n;i++)
  for(j=n;j>=1;j--)
    if(i==n+1-j)
       swap(mat[i],[j],mat[j][i]);
}
rectific...swap(mat[i][j],mat[j][i]); (era un punct in plus)