+ 2
In / and % which of the two is higher in precedence because they usually get interchanged
4 Respuestas
+ 4
Seb TheS Yes u were right .
* , / , % has same precedence and just gets evaluated from left to right..👍
+ 2
Alphin K Sajan
If / has higher precedence than %, then 10 % 8 / 2 should evaluate to 10 % 4.0 causing result 2.0.
But 10 % 8 / 2 gives result 1.0.
+ 1
What about solving the expression from right to left, won't it change