In the expression a = b + c * d, which operator is evaluated first according…
2025
In the expression a = b + c * d, which operator is evaluated first according to precedence rules?
- A.
+
- B.
=
- C.
Evaluated from left to right
- D.
*
Attempted by 429 students.
Show answer & explanation
Correct answer: D
Multiplication (*) has higher precedence than addition (+) and assignment (=). In the expression a = b + c * d, multiplication is evaluated first before addition and assignment operations.