int a;
for (int i = 0; i < 100; i++)
{
a = i % 3;
}
orfor (int i = 0; i < 100; i++)
{
int a = i % 3;
}
>>59770663
What? That obviously depends on what you wanna do.
>>59770699
This, it's just changing the scope of the variable. Not a matter of opinion, but a matter of what you need to do.
>>59770663
Wouldn't you lose the a as soon as you left the for in the second case?
OP Asking the important questions
>>59770663
B I K E S H E D D I N G