/* c99: limiting the scope of variables declaring them when needed or declaring them in a block inside a block */ #include int main() { int x; x = 2; /* i cannot be used here */ int i; i = x; /* Block inside a block */ { /* This is another variable, it is not i=x */ int i; i = 3; /* At the end of the block i=3 no longer exist */ } /* i=x still exist */ return 0; }