News

Pre-standard C++ had quirky scope behavior similar to your first example - variables declared specifically in a for loop's initializer statement remained in scope through the end of the block.