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 / 030.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-02  |  586KB  |  2550x3300
Labels: book | crt screen | monitor | reckoner
OCR: Chapter Getting Started tor applied to operands with different signs as with the division operator. only one has two operand. unary The unary arithmetic plus has operators, no effect unary on plus its and operand unary That minus is They intvar take int variable, then intvar has the same value as intvar used in vice much changes the the same sign of way its as operand; and if .., intvar might be Is used positive algebra ntvar The unary negative, minus and versa When these operations are applied to variables of type int the result. br default of type int. The effects of these operators on variables of different types Is discussed in Chapter The program in Example illustrates the arithmetic operations and in a program with variables of type int Example 1-8: arith.c arith.c Synopsis Cal icula ...