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?

Answer: D. *Multiplication (*) has higher precedence than addition (+) and assignment (=). In the expression a = b + c * d, multiplication is evaluated first before…

  1. A.

    +

  2. B.

    =

  3. C.

    Evaluated from left to right

  4. D.

    *

Attempted by 985 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 Basic Computer Instructor

Loading lesson…