Hello,
I am a new C learner and I have a doubt regarding passing arrays as parameters to functions.
this is how i would pass a 2-D array as a parameter to a function.Code:int det(int M[][n]) { }
If i need to be able to obtain an array of dimension (n-1)x(n-1) from this function which i use as an input array to another function, how should i modify the return type or any other part of the function?
Could someone explain the implication of the error message on gcc : "array type has incomplete element type".
Thanks and regards,