0

Precedence

Cout << 1000/100%7*2 According to me, it should be 250 but Sololearn shows 6.

14th Sep 2023, 11:01 AM
RAJIV KUMAR KULIYA
1 Respuesta
+ 4
all used operators have the same level of precedence, so the computation goes from left to right.
14th Sep 2023, 11:13 AM
Lisa
Lisa - avatar