title: Write the definition of a function, isReverse
body: <p>Write the definition of a function,  isReverse , whose first two parameters are arrays of integers of equal size, and whose third parameter is an integer indicating the size of each array. The function returns true if and only if one array is the reverse of the other. ("Reverse" here means same elements but in reverse order.) </p>
  
  <pre><code>int isReverse(int array1[], int array2[], int size)
  { 
      int i;
      for (i=0;i&lt;size;i++)
      {
          if(array1[i] == array2[size-1])
              return 0;
          else
              return 1;
      }
  }
  </code></pre>
  
  <p>i keep getting an error. whats wrong with it.</p>