Variable declaration reset: Difference between revisions

m
→‎{{header|C}}: oops 1 -> 0
m (→‎{{header|C}}: oops, let -> int)
m (→‎{{header|C}}: oops 1 -> 0)
Line 62:
return 0;
}</lang>
<small>(Note: Obviously the <code>for (int i=10, 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,794

edits