Home > Back-end >  To transpose a matrix that exchange
To transpose a matrix that exchange

Time:10-23

#include
#include
Void main ()
{
Int a [3] [5], [5] b [3].
Int * p [5]={a [0], a [1], a [2]}.
Int I, j, m, n;
for(i=0; i<3; I++)
for(j=0; J<5; J++)
A [I] [j]=rand () % 90 + 10;
Puts (a);
printf("\n");
For (j=4; J>=0; J -)
{
for(i=0; i<3; I++)
Printf (" % d ", p [I] [j]);
printf("\n");
}
This has a lot of problems, correct
  • Related