2 dimension array argument-Collection of common programming errors
YakovThe function should get as an argument 2-dimension square array of int.so the function signature :
void f (int** arr,int n) // n is a size of each dimension
I have defined the array :
int arr [][5] = {{0,1,1,1,1},{1,1,1,1,1},{0,1,1,0,1},{0,1,1,1,1},{0,1,1,1,0}}
The call :
func (arr,5); //