title: Array as function parameter error finding the length of the array
body: <pre><code>1.  int minimum(int arr[]){
  2.
  3.     int min,pos = 0;
  4.     min =  arr[0];
  5.     int i;
  6.     for(i = 0;i&lt;(sizeof(arr)/sizeof(*arr));i++){
  7.         if(arr[i]&lt;min){
  8.             min = arr[i];
  9.             pos = i;
  10.        }
  11.     }
  12.     return arr[pos];
  13.  }
  </code></pre>
  
  <p>in the 6th line it the satement in the for loop condition cant count the size of the array .......</p>