title: Is an int* parameter exactly the same as a int[] parameter
body: <p><strong>Are the 2 following functions essentially the same function?</strong></p>
  
  <p>ie, is an <code>int*</code> exactly the same as a <code>int[]</code>?</p>
  
  <pre><code>int myFunction(int* xVals, int* yVals, int nVertices);
  int myFunction(int xVals[], int yVals[], int nVertices);
  </code></pre>
  
  <p>How can I use the 1st function? Ie, how can I pass arrays in the parameters? Is the following valid/correct?</p>
  
  <pre><code>int xVals[5], yVals[5], zVals[5];
  myFunction(xVals, yVals, zVals, 5);
  
  // or should it be..
  myFunction(&amp;xVals[0], &amp;yVals[0], &amp;zVals[0], 5);
  </code></pre>