BODMAS is what we use in Maths ,But we use PEMDAS in c++.
Thats coppied from stackpwerflow.
For futher doubuts plz coment.
Definition:P Parathasis first.E Exponent second.MD Multiplication and Division third (have the same precedence)AS Addition and Subtraction fourth (have the same precedence)MD happen left to rightAS happen left to right