Variable declaration reset: Difference between revisions
Content added Content deleted
m (→{{header|Factor}}: whoops) |
m (→{{header|C}}: Corrected program comment.) |
||
Line 44: | Line 44: | ||
/* There is no output as 'prev' is created anew each time |
/* There is no output as 'prev' is created anew each time |
||
around the loop and set |
around the loop and set explicitly to zero. */ |
||
for (i = 0; i < 7; ++i) { |
for (i = 0; i < 7; ++i) { |
||
int curr = s[i]; |
int curr = s[i]; |