title: Syntax for iterating through a C array
body: <p>I'm a beginner learning C. I'm quite familiar with Java, where iterating through an array i is as simple as:</p>
  
  <pre><code>for (i = 0; i &lt; arr.length; i++)
  // Stuff here
  </code></pre>
  
  <p>But in C, the * notation throws me off. Can someone please explain why the input variable below refers to an array, and the syntax for iterating through it?</p>
  
  <pre><code>double function(const double* values);
  </code></pre>