Passing a matrix in a function (C)
问题 I have an issue passing a matrix to a function in C. There is the function I want to create: void ins (int *matrix, int row, int column); but I noticed that in contrast to the vectors, matrix give me an error. How can I pass my matrix to a function so? EDIT --> there is the code: // Matrix #include <stdio.h> #define SIZE 100 void ins (int *matrix, int row, int column); void print (int *matrix, int row, int column); int main () { int mat[SIZE][SIZE]; int row, col; printf("Input rows: "); scanf