0
Operator precedence
Can anyone explain operator precedence better, I’m confused about it
4 ответов
+ 1
2 + 3 * 4
The precedences of the operators above...
* > +
First 3*4 = 12
Second 2 + 12 = 14
Operators with higher priority are excuted faster.
+ 1
HIGH
+ - ~
**
* / % //
+ -
<< >>
&
^
|
< <= > >= == != <> is is not in not in
not
and
or
LOW
0
So those in Boolean logic are executed last?
0
Ohh I get it, Thanks!