Commit 77a3b887 authored by i.zyryanov1's avatar i.zyryanov1
Browse files

Update main.c

parent 43ef1ecc
......@@ -82,13 +82,5 @@ int **copyMatrix(int **matrix, int n, int m) {
return copyMat;
}
int **transposeMatrix(int **matrix, int n, int m){
int **transposed = allocateMatrix(m, n);
for(int i=0; i<m; i++){
for(int j=0; j<n; j++){
transposed[j][i] = matrix[i][j];
}
}
freeMatrix(matrix, n);
return transposed;
int transposeMatrix(int ***matrix, int *n, int *m){
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment