Hi
I have seen several programs that define variables inside a block, like:
Are there any advantages in using such code?Code:int main (void) { ... ... ... while (...) { int variable; ... ... } ... ... }
Thx !
Hi
I have seen several programs that define variables inside a block, like:
Are there any advantages in using such code?Code:int main (void) { ... ... ... while (...) { int variable; ... ... } ... ... }
Thx !