What you will learn about operators in this course
In this course, you will mainly learn about the following
operators.
You will learn about the operators shown in boldface in this
lesson.
You will learn about many of the remaining operators in other
lessons.
- Scope Resolution: ::
- Postfix
- Subscript: [] (will use
with arrays)
- Function call: ()
- Cast: ()
- Member access: ->
- Unary
- Indirection: *
- Address-of: &
- Logical Negation: !
- new
- Multiplicative
- Multiplication: *
- Division: /
- Modulus: %
- Additive
- Addition: +
- Subtraction: -
- Relational and Equality
- Less than: <
- Less than or equal to: <=
- Greater than: >
- Greater than or equal to: >=
- Equality: ==
- Not equal: !=
- Logical
- Logical AND: &&
- Logical OR: ||
- Assignment: =
- Pointer to Member (same as
Member access above): ->
- Reference: &