Does a loop reset every time you  go through it?
<pre><code>#include &lt;iostream&gt;
using namespace std;

int main (void) {
 cout &lt;&lt; " 1\t2\t3\t4\t5\t6\t7\t8\t9" &lt;&lt; endl &lt;&lt; "" &lt;&lt; endl;
 for (int c = 1; c &lt; 10; c++) {
   cout &lt;&lt; c &lt;&lt; "| ";
   for (int i = 1; i &lt; 10; i++) {
     cout &lt;&lt; i * c &lt;&lt; '\t';
   }
   cout &lt;&lt; endl;
 }
 return 0;
}
</code></pre>

<p>Hey so this code produces a times table...I found it on Google Code's C++ class online...I'm confused about why "i" in the second for loop resets to 1 every time you go through that loop...or is it being declared again in the first parameter? </p>

<p>Thanks in advance!</p>
