+ 2

Is Operator Precedence different to bodmas

c++

1st May 2017, 6:47 PM
Sello Selby Bopape
Sello Selby Bopape - avatar
4 ответов
+ 2
how so
1st May 2017, 7:12 PM
Sello Selby Bopape
Sello Selby Bopape - avatar
+ 2
isn't that brackets have a higher precedence in bodmas? and multiplication and division have higher precendence than addition and subtraction?
1st May 2017, 7:15 PM
Sello Selby Bopape
Sello Selby Bopape - avatar
0
yes it is
1st May 2017, 7:12 PM
Keshave Jat
Keshave Jat - avatar
0
coz multiplication have higher precedence than divide in c++
1st May 2017, 7:14 PM
Keshave Jat
Keshave Jat - avatar