C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
C++ OperatorsAn operator is simply a symbol that is used to perform operations. There can be many types of operations like arithmetic, logical, bitwise etc. There are following types of operators to perform different types of operations in C language.
Precedence of Operators in C++The precedence of operator species that which operator will be evaluated first and next. The associativity specifies the operators direction to be evaluated, it may be left to right or right to left. Let's understand the precedence by the example given below: int data=5+10*10; The "data" variable will contain 105 because * (multiplicative operator) is evaluated before + (additive operator). The precedence and associativity of C++ operators is given below:
Next TopicC++ Identifiers
|