16 lines
417 B
Markdown
16 lines
417 B
Markdown
Chapter 4 exercises assigned, due monday
|
|
|
|
# Operators
|
|
C emphasizes *expressions* rather than statements.
|
|
|
|
Expressions are built from variables, constants, and operators.
|
|
|
|
C provides 5 binary arithmetic operator (arithmetic meaning it requires two things to operate on):
|
|
- Addition
|
|
- Subtraction
|
|
- Multiplication
|
|
- Division
|
|
- Modulus
|
|
|
|
Unary operators only require *one* thing to operate on.
|
|
- Positive and minus signs |