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?

  1. A.

    +

  2. B.

    =

  3. C.

    Evaluated from left to right

  4. 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.

Explore the full course: Rssb Senior Computer Instructor