- For pass to function is it worth packing the matrix and its dimension in a struct or is it OK to use additional parameters?
- void printMatrix(float **matrix, int rows, int cols);
- struct Matrix {
- int rows, cols;
- int **data;
- };
- void printMatrix(struct Matrix *m);
- void printMatrix(struct Matrix m);