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 / 179.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-21  |  756KB  |  2550x3300
Labels: binder | book | poster | reckoner
OCR: 3.10 Types of Expressions and Automatic Conversions 3.10 Types of Expressions and Automatic Conversi ions In C every expression has an associated type Operators and operands within the expression combine to determine the expression's type Expressions whose final value is the result of a logical operator I0 a relational operator have type int. The operators involved are and The result of any of those operations can be thought of as true or false assigns value of1 true statement and value of0 to a false statement. Some type conversions are automatically performed in calculating the final value of expressions involving the arithmetic operators. These conversions need t0 be understood in order to understand C's treatment of types The general concept presented below. The actual conversion rules ...