home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_08 / 448.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-29  |  642KB  |  2550x3300
Labels: book | poster | reckoner
OCR: 448 Chapter 8 Intraprogram Communication Running the Program of two This functions program IS The almost function identical main to the consists previous of two example pr intf program It calls consists Each time. the value returned by the function incr ement is displayed The function inc rement contains local variable numbe which initialized to zero mented The function increment increments this variable and returns the incre- value Note 1:The variable number in this example has been declared with storage class static is in existence the whole time the program executes 1 only initialized once and holds its value between calls to incre- ment Note 7 These pr intf() calls display the value returned by increment Since the value t0 number at the start of execution of increment S not always the ...