+ 2

question about arithmetic operater

we solve every numerical question according to BODMAS rule so here why we don't apply BODMAS rule

24th Sep 2017, 2:02 PM
Shivani Goyal
2 Antworten
+ 6
24th Sep 2017, 2:13 PM
Ekansh
+ 4
Maths nd Programming are different.. even if programming has logic which needs maths..still the compiler in case of c/c++ or interpreter in other language performs operations on the basis of Precedence And Associativity defined for that language.. some of the rules can be same as BODMAS rule...u can check Precedence And Associativity table on net... i found this for c/c++ https://www.programiz.com/c-programming/precedence-associativity-operators its same as we don't write 'not equal to' in programming as we do in maths
24th Sep 2017, 2:25 PM
Ankur Pashine
Ankur Pashine - avatar