Re:C uses "&" for the address-operator because 'ampersand so...
by professoretc on Tuesday October 10, 2023 @12:15PM
(#37834069)
But `while` doesn't restrict the scope of the variable(s) to just the loop. I believe there was a proposal to add
as a valid syntax to C++ (which would restrict the scope of i to the loop), as you can already do
but it didn't go anywhere.
[ Parent
| on HN ]