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 / 029.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-02  |  707KB  |  2550x3300
Labels: book | poster | reckoner
OCR: 1F Arithmetic Operations 1.6 Arithmetic Operations hree with sequences single In this section, we will investigate arithmetic operations in C The arithmetic oper- uan statement ations that are available for quantities of type int and the other integer types in C are addition and unary plus xadeci- unary minus and subtraction deci multiplication ation division entation remainder med The addition, + subtraction, (- and multiplication, * operators are the usual char operators that are used in mathematics. They are binary operators because they take two operands. For example 10 521 int Division / and remainder operations are also binary operations; they take two operands However, the meanings of these operands are slightly different than output those taught in mathematics. binary When the divi ...