Good night, next I have a problem when passing an array to a function in C. I have the following code
void funcao(int mat[][num]);
int main() {
scanf(%d,&num);
}
It is basically the following, I define the size of the array in the main function, so the statement of the function above the code points out that a is not a constant then it gives error, I wanted to know how I can this matrix for a function. Vlw