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 / 451.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-29  |  754KB  |  2550x3300
Labels: book | crt screen | poster | reckoner | shelf
OCR: 8.3 Global versus Local Variables times and ond, different implementations ofC might impose restrictions on the number and type of register variables i honors (assigns to register) In fact, in some imple- mentations of the storage class indicator simply ignored; in others, the restrictions are dependent on the underlying hardware for the implementation. Learning Activities Predict the ondno of register.c and execute it to verify your predic- tions Determine if it is possible to look at the assembly code gener- ated by the compiler on your implementation ofC Find out how 1s done. Ifit is possible, stop compilation of register.c at that phase and Note 1 inspect the assembly code Can you tell where the variable number -: stored? Was allocated a register? Note 2 Omit the storage specifier regi ...