C Keywords - auto
For example:
for(;;) {
if getchar() == 'a') {
auto int i;
for (i=0; i<'a'; i++)
printf("%d , %c", i , i);
}
}
In the example above, i is only defined if the if condition is true and only has value within the if block of code.
Computer Centre