Movatterモバイル変換


[0]ホーム

URL:


Next: ,Previous: Case Ranges,Up: C Extensions


5.23 Mixed Declarations and Code

ISO C99 and ISO C++ allow declarations and code to be freely mixedwithin compound statements. As an extension, GCC also allows this inC89 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 ofthe enclosing block.


[8]ページ先頭

©2009-2025 Movatter.jp