Consider the recursive function header:
void matrixfunc( int a)
I would like to be able to pass the array a with the dimension constants 5 and 5 as variables rather than constants, similiar to:
void matrixfunc( int a[size]a[size] )
where size will be change within matrixfunc itself. the line of code size = size - 1 will occur somewhere within the function in order to decrease the size of the array.
Is there some kind of fix that allows me to pass 2 D arrays without the size of the array being a constant.
Ultimately, I would like to use void matrixfunc( int a) in my recursion, but I know already that i am unable to do this.