Passing 2D arrays between functions
Im a bit confused how I would do the following:
I have the following functions:
Now this is what the flow I am looking for:
void bkSub(char arrayIn)
This function after receiving the arrayIn and processing it should pass a new 2D array (float array[height][width]) it created down to blackNWhite()
This function now receives that 2D array (float array[height][width]), processes it and passes it down to cC()
This now receive the 2D array as above and processes it and then passes back to main a structure info.
I am not sure how to do the passing of the 2D array between the functions.
Could someone help?