Question
Which of the following correctly shows the hierarchy of arithmetic operations in C?
Answer: Option D
B - Brackets first O - Orders (ie Powers and Square Roots, etc.) DM - Division and Multiplication (left-to-right) AS - Addition and Subtraction (left-to-right)
Was this answer helpful ?
Simply called as BODMAS (Bracket of Division, Multiplication, Addition and Subtraction).
How Do I Remember ? BODMAS !
Was this answer helpful ?
Submit Solution