title: Get the previous array from a 2d array with given array passed as an argument in a function
body: <p>It was hard to create a title, but I'll show you:</p>
  
  <p>I'm given a 2d array <code>arr[10][10]</code></p>
  
  <p>In a function, a 1d array of <code>arr</code> of size, let's say <code>5</code>, is passed as an argument:</p>
  
  <pre><code>int func(arr[5]);
  </code></pre>
  
  <p>What I want is: without knowing the index of the array used as the argument (in this case index 5), I want to get the array from <code>arr</code> with (index = indexgiven - 1) of given array (the previous).</p>
  
  <p>So in this case, I would want:</p>
  
  <pre><code>int func(arr[5]){
      _array = arr[4];
  }
  </code></pre>
  
  <p><strong>NOTE:</strong> I CANNOT change this function's signature. My job is to create code inside the function. Then this function will be called.</p>