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 / 449.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-29  |  734KB  |  2550x3300
Labels: book | crt screen | poster | reckoner
OCR: Automatic versus Static Variables 449 Register Variables The third storage class that we will discuss is regi ster. The desi ignation of variable as register variable S request by the programmer that variable be placed n a register. The declaration JO register variable usually an indication that the variable will be used often; it might be done in an attempt improve the speed and performancc program The specifications for the C language do not guarantee iait variable will be placed in a register when one is requested; how ever, the knowledge that register was requested may allow the compiler to opti- mize the code for efficiency m. I consists The keyword reg begins the declaration of register variable For calls Each example The function reqister int counter; initialized variables ns the in ...