title: Error calling function: "argument of type "int" is incompatible with parameter of type "int *"
body: <p>I was assigned a program that needed a array of 25 doubles. Then needed to be flipped and displayed. I cannot seem to get the flipArray function to work.</p>
  
  <pre><code>#include &lt;iostream&gt;
  
  using namespace std;
  
  const int NUMSCORES = 25; 
  //double getData(double &amp;myArray);
  void flipArray (int arr[]);
  
  
  int main(void)
  {   
      int scores[NUMSCORES], i;
      for(i=0; i&lt;NUMSCORES; i++){
          cout &lt;&lt; "Please enter scores #" &lt;&lt; i+1 &lt;&lt; ": ";
          cin &gt;&gt; scores[i];
      }
  
      cout &lt;&lt; "Your test scores:\n";
      for(i=0; i&lt;NUMSCORES; i++)
          cout &lt;&lt; "\tTest score #" &lt;&lt; i+1 &lt;&lt; ": " &lt;&lt; scores[i] &lt;&lt; endl;
  
      flipArray(NUMSCORES);
      return;
      }
  
  void flipArray(int arr[])
  {
      int j;
      for (j=NUMSCORES-1; j&gt;=0; j--)
          cout &lt;&lt; arr[j] &lt;&lt; "\t";
  }
  </code></pre>