The error is for Card1 and Card2. I googled it and everything, but I guess I am not understanding it clearly. What I am trying to do create a rNumber Array then be-able to pass them into Card1 and Card2, but I literally have tried a different ways of coding it, so I am stuck atm. Any help would be really appreciated.
you tell it which one to use, all you are doing is passing the memory address to the function.
If you pass an array like this:
1 2 3 4 5 6
void function (int array[x][y])
What you are actually doing is making another array, containing all of the data of the original array. While this doesn't pose huge consequences in small or trivial programs, it is not good for memory consumption in larger ones, and overall considered to be bad practice if it can be avoided by simply passing the memory address.