Will a variable initialized within a loop be destroyed and recreated every time it loops? Does it matter if the variable is initialized to something, or is a const?
1 2 3 4 5 6 7 8 9 10 11 12 13 14
int main ( )
{
while ( something is true )
{
constint a = 1;
int b = 2;
int c;
// do something
}
}