I want to pass an array among one of the subarrays of an array to a function in C. This is how the function call looks like:
func(arr[cnt][]);
and the function has a syntax like this:
int func(int* arr[x][])
{
//function body
}
Since I am getting quite a lot of errors I was curious to know whether this is possible.Also what should I be taking care of while passing arrays(here:2-dimensional)