Variable declaration reset: Difference between revisions

→‎{{header|J}}: Clarify summary statement
(→‎{{header|C}}: Added a caveat to comment.)
(→‎{{header|J}}: Clarify summary statement)
Line 231:
But it would not alter the generated result.
 
In other words, J's control words (like '<tt>while.</tt>') do not create new variable scopes. However, given J's semantics, its behavior in the context of this task would be unchanged if the while loop introduced a new variable scope.
 
=={{header|Java}}==
6,962

edits