November 2004
Intermediate to advanced
984 pages
24h 53m
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, ...
Read now
Unlock full access