Float matrix passed as a parameter to a function gives garbage values
I want to pass a float matrix to another function from the main function, the code being as follows: #include <stdio.h> // n must be passed before the 2D array void print(int m, int n, float arr[][n]) { int i, j; for (i = 0; i < m; i++) for (j = 0; j <… Read More Float matrix passed as a parameter to a function gives garbage values