|[ << ]||[ < ]||[ Up ]||[ > ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
6.29 Mixed Declarations and Code
ISO C99 and ISO C++ allow declarations and code to be freely mixed within compound statements. As an extension, GNU C also allows this in C90 mode. For example, you could do:
int i; /* … */ i++; int j = i + 2;
Each identifier is visible from where it is declared until the end of the enclosing block.
This document was generated on October 19, 2013 using texi2html 5.0.