home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_02 / 066.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-08  |  556KB  |  2550x3300
Labels: book | crt screen | daybook | monitor | poster | reckoner
OCR: Chapter Gaining Control tion statements does not in an know inner about block can variables access declared any variables inside an that inner the block surrounding However, function the In In th th can access. The program block.c Example 2-2 illustrates variables local to functi ions and blocks. In general, better idea not to give the same name to different have inside variables; the the T same is block name done and in the this variable example outside just the block emphasize are the different point that even the when variable they Example 2-2 block.c block, Synopsis The values of two variables named are displ ayed They are decl lared ir two different block ks Obj iective To illustrate block struc turing of source code Incl Lude Files #inc .ude <stdio h> int main( void int Note int Note ...