vault backup: 2024-09-11 14:40:50
This commit is contained in:
parent
25600790b4
commit
918232ba9f
@ -1,4 +1,16 @@
|
|||||||
Chapter 4 exercises assigned, due monday
|
Chapter 4 exercises assigned, due monday
|
||||||
|
|
||||||
# Operators
|
# Operators
|
||||||
C emphasizes *expressions* rather than stateme
|
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
|
Loading…
Reference in New Issue
Block a user