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 / 160.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-21  |  575KB  |  2550x3300
Labels: book | crt screen | daybook | poster | reckoner
OCR: 160 Chapter Basic Data Types Operation on the bit Result (the negation of The The syntax right for and the left right shifts shift IS are also binary operations, but they work differently expressi onl expre ssion2 and the syntax for the left shift is express: onl expression2 expression where short express tvarl both ioni on has the expressi the to be value right. oni shifted: 1. exp and The it bit ressi must express: pattern ion2, be non- 1s ion2 represents -negative. must have the For an number example, integer of assume type bits that The that shortvarl 0000000 The bit patterns and values of several shifts of shortvarl are presented below Shift shor tvarl Bit pattern Value short varl shor rtvarl 0 00 0 sho -tvarl shortvarl 2 is the hold divides shifted when leftmost its Inspecting left v ...