New course! Every coder should learn Generative AI!
Try a free lesson0
Precedence
Cout << 1000/100%7*2 According to me, it should be 250 but Sololearn shows 6.
1 Answer
+ 4
all used operators have the same level of precedence, so the computation goes from left to right.