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 / 158.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-21  |  562KB  |  2550x3300
Labels: book | crt screen | daybook | poster | reckoner
OCR: 158 Chapter 3 Basic Data Types The bit pattern of the expression shortvarl shor tvar2 1 shor tvarl shor tvar2 and its value is 0 Suppose charvarl ST a and charvar2 is The associated bit patterns for the ASCII character set are shortv charvarl 01100001 charvar2 11 The bit pattern for cha rvari charvar2 is charvarl charvar? 00100001 This the bit pattern for the character in the ASCII character set The bitwise -or L, is also binary operation. It operates on two bit patterns to form third The syntax for the bitwise -or expressionl expression2 bit in the resultant pattern is a 1if either of the corresponding bits in the operands is a 1: if both of the corresponding bits in the operand are 0 the bit in the result is 0 This rule is reflected in the table below eth bit in bit in ith bit in expres ...