Passing array as an argument to a function

while passing a 2d array as an argument to a function, why can we not write int arr[][]
why is it necessary to specify the dimensions? can we not proceed without doing that?