Why this: int foo = 0; for (int i = 0 : i < 25; i++) { foo++; } as opposed to: for (int i = 0 : i < 25; i++) { int foo = 0; foo++; }