home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_03 / 163.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-21  |  732KB  |  2550x3300
Labels: book | crt screen | poster | reckoner
OCR: 3.8 Operations on the Integer Types 163 If There's Time or Need: Bit w1I( ~wl 53 122 265 74 1 . A single function named ma in contains variable declarations and initializa- tions The executable code consists assignment statements and calls to printf). Note 1: Te each variables have been IS declared as type uns ignea int to ensure between that of the operations defined. This also will avoid values flipping positive and negative when the high bit changed by bit operation. Note These three statements initialize the variables The values are written as hexadecimal constants. signified by the 0x before the value leading Constant (zero) values can be written octal constants by including For example 523 is decimal constant in 0523 I8 an octal constant, and used 0523 is hexadecimal constant. In thi ...