B is correct. Multiplication has higher precedence than addition and substraction. Then for addition and substraction with the same precedence, left associativity is applied.
b is the correct answer
According to the order of operations (PEMDAS/BODMAS), multiplication is performed before addition and subtraction.
Specifically:
Multiplication: b * c
Addition: a + (result of b * c)
Subtraction: (result of a + b * c) - d
Answer D is correct. None of the above.
A is wrong since multiplication has higher precedence than addition/subtraction
B has a closing ")" too much
C has an opening "(" too much
upvoted 3 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
5cd303a
1 week agoFedeXD
1 month, 3 weeks agoDelroy2826
2 months, 3 weeks agoS1nthe0
2 months, 4 weeks agochristostz03
3 months agoherrmann69
5 months, 2 weeks ago