Expressions and Operators

Expressions are sequences of operators, operands, and punctuators that specify a computation. The evaluation of an expressions is based on the operators that the expression contains, and the context in which the operators are used.

C++ operators can be defined to behave differently when applied to operands of class type. This is called operator overloading. The C language does not permit overloading.



Operator Precedence and Associativity
Operands
lvalues
Types of Expressions
Constant Expressions
Function Calls


Operator Precedence and Associativity Table
Primary Operators
Unary Operators
Binary Operators
Assignment Operators
Comma Operator
Overloading Operators