I'm trying to do a function in C that takes a matrix as an argument.
I will know only in run time how many elements will the matrix have (However is a NxN matrix).
Therefore I want to know if there is some warranty that the space will ALWAYS be contiguous and thus I can only ask the pointer to the first element. I declared my matrix like this:
int nodo;
scanf("%d", &nodo);
int distancias[nodo][nodo];