Web page hosting, cheap domain name & website promotion services
  

 Index

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 mixed within compound statements. As an extension, GCC also allows this in C89 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.

 

 

  

 

Buy domain name or register domain | Buy cheap domain from 895cheap-domain.com 

Disclaimers: This document is provided as free service for the benefits of Active-Venture.com's virtual hosting customers only.

 

 

" Large increases in cost with questionable increases in performance can be tolerated only in race horses and women.   "