Civil Engineering Mechanical Engineering Chemical Engineering Networking Database Questions Computer Science Basic Electronics Digital Electronics Electronic Devices Circuit Simulation Electrical Enigneering Engineering Mechanics Technical Drawing

# C Programming - Control Instructions - Discussion

@ : Home > C Programming > Control Instructions > General Questions - Discussion

"You cannot shake hands with a clenched fist."
- Indira Gandhi
4.

In mathematics and computer programming, which is the correct order of mathematical operators ?

 [A]. Addition, Subtraction, Multiplication, Division [B]. Division, Multiplication, Addition, Subtraction [C]. Multiplication, Addition, Division, Subtraction [D]. Addition, Division, Modulus, Subtraction

Explanation:

Simply called as BODMAS (Brackets, Order, Division, Multiplication, Addition and Subtraction).

Mnemonics are often used to help students remember the rules, but the rules taught by the use of acronyms can be misleading. In the United States the acronym PEMDAS is common. It stands for Parentheses, Exponents, Multiplication, Division, Addition, Subtraction. In other English speaking countries, Parentheses may be called Brackets, or symbols of inclusion and Exponentiation may be called either Indices, Powers or Orders, and since multiplication and division are of equal precedence, M and D are often interchanged, leading to such acronyms as BEDMAS, BIDMAS, BODMAS, BERDMAS, PERDMAS, and BPODMAS.