home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_01 / 028.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-02  |  648KB  |  2550x3300
Labels: book | crt screen | poster | reckoner
OCR: Chapter Getting Started The overview of the program reveals single function, main with single variable of type int declared. The next ten lines of code consist of three sequences ofapr intf() call, scanf call, apr intf 1 call, and the re turn statement Note 1:Note the conversion specification X in the control string to pr intf This suggests that the value of .ntvar will be converted to hexadeci- mal when it is output In the previous statement scanf ( read deci mal value and stored that value in the interna machine representation in the variable intvar This value can be con verted to any representation before output Note In this call to scanf () the value entered on the terminal assumed to be in hexadecimal scanf() looks for a sequence of hexadecimal char- acters, through and converts the v ...