use 2 d array in function c code example
Example 1: Passing a matrix in a function C
void ins (size_t rows, size_t columns, int matrix[rows][columns]);
Example 2: Passing a matrix in a function C
void ins (int matrix[SIZE][SIZE], int row, int column);