>>25
同じスコープで同じ変数名を使うのがNGです
int a = 0;
int a = 1;
はコンパイルエラーになるっしょ

void test(int a) {
 int a = 0;
}
もコンパイルエラーになるっしょ

そういうこと