-*int \*\*allocateMatrix(int n, int m);* - allocate two-dimensional array using malloc (N + 1 calls, or 1 call - doesn't matter). You must do null-check on malloc's result. (*if (malloc(123) == NULL) //ALLOCATE ERROR*). Usage of *assert(..)* is OK.
-*void freeMatrix(int \*\*matrix, int n);* - free two-dimensional array.
-*void scanfMatrix(int \*\*matrix, int n, int m);* - read two-dimensional array from STDIN. Input format:
1 2 3
4 5 6
7 8 9
-*void printfMatrix(int \*\*matrix, int n, int m);* - print two-dimensional array to STDOUT. Output format:
1 2 3
4 5 6
7 8 9
-*int \*\*copyMatrix(int \*\*matrix, int n, int m);* - allocate new two-dimensional array and fill it with origin one.
-*void transposeMatrix(int \*\*matrix, int n, int m);* - transpose given two-dimensional array.