- #36
mathmari
Gold Member
MHB
- 5,049
- 7
I like Serena said:Yep. (Nod)
When "int a = 3" is declared, local stack memory is allocated for it.
Furthermore it "hides" the "a" that was declared earlier.
When the closing brace comes by, the local stack memory is automatically released.
Afterwards, the original "a" becomes visible again. (Nerd)
Ahaa... Ok! (Muscle)I have also an other question...
When I declare 'starsystem', before the if statement, do I write it as followed??
[m] starsy_t *starsystem;[/m]
Or should I set it equal to [m]NULL[/m] ??
(Wondering)