previous |
start |
next
Arithmetic (Basic Operations)
- All four basic arithmetic operations are
supported by C++:
- Addition and subtraction: +
-
- Multiplication and division: *
/
- Multiplication and division bind more strongly
than addition and subtraction.
- Use parentheses to indicate the order in which
the subexpressions should be evaluated.
 |
a + b / 2
|
 |
( a + b ) /
2
|
previous |
start |
next