Variable declaration reset: Difference between revisions

m
→‎{{header|C}}: oops, let -> int
(→‎{{header|C}}: added "for (int i, prev" variant/comment.)
m (→‎{{header|C}}: oops, let -> int)
Line 62:
return 0;
}</lang>
<small>(Note: Obviously the <code>for (letint i=1, prev</code> needs the outer i and the inner prev removed, and the same "int" added to the second loop, for it to compile cleanly.)</small>
{{out}}
<pre>
7,806

edits