how operators works in expression priority wise

前端 未结 0 708
自闭症患者
自闭症患者 2021-01-12 11:09

so, I am confused with this expression, if x=20,y=10,z=5 (all integer) (x*z/z-y) should be -10 right ? but when I run this expression in vs-code it gives 10 as a result!

相关标签:
回答
  • 消灭零回复
提交回复
热议问题