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.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results