II C s Operators

Chapter 7
Operators and Precedence
You now understand variables and can perform simple input and output. Without the capability to calculate, your computer would be worth little indeed. This chapter begins a new part of the book that introduces you to C's numerous operators. C supports a wide range of operators, and understanding the operators is key to understanding C. Not only must you know how the operators work, you must also understand the proper order that operators execute when they appear together in a single statement.
This chapter teaches you the following topics:
Primary math operators
Order of operator precedence
Assignment statements
Mixed data-type calculations
Typecasting

 



C by Example
C by Example
ISBN: 0789722399
EAN: 2147483647
Year: 1999
Pages: 43
Authors: Greg Perry

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net