gcc: Mixed Declarations

1 
1 6.30 Mixed Declarations and Code
1 ================================
1 
1 ISO C99 and ISO C++ allow declarations and code to be freely mixed
1 within compound statements.  As an extension, GNU C also allows this in
1 C90 mode.  For example, you could do:
1 
1      int i;
1      /* ... */
1      i++;
1      int j = i + 2;
1 
1  Each identifier is visible from where it is declared until the end of
1 the enclosing block.
1