D
Dom
I should know this, but I don't. In the following, is an integer
being created with each iteration?
for (...)
{
int n = SomeFunction ();
}
Or should I do the following, even if I don't plan to use "n" outside
the loop?
int n;
for (...)
{
n = SomeFunction ();
}
being created with each iteration?
for (...)
{
int n = SomeFunction ();
}
Or should I do the following, even if I don't plan to use "n" outside
the loop?
int n;
for (...)
{
n = SomeFunction ();
}