September 2001
Beginner
970 pages
23h 20m
English
You will learn about the following in this chapter:
Keyword:
while, typedef
Operators:
= - * /
% ++ -- (type)
C's multitudinous operators, including those used for common arithmetic operations
Operator precedence and the meanings of the terms statement and expression
The handy while loop
Compound statements, automatic type conversions, and type casts
How to write functions that use arguments
Now that you've looked at ways to represent data, let's explore ways to process data. C offers a wealth of operations for that purpose. You can do arithmetic, compare values, modify variables, combine relationships logically, and more. Let's start with basic arithmetic—addition, subtraction, multiplication, and division. ...
Read now
Unlock full access