Given the following assignment statement, which of the following answers is true regarding the order that the operators will be applied based on operator precedence?
a = (b + c) * d / e – f;
a) *, /, +, -
b) *, +, /, -
c) +, *, /, -
d) +, /, *, -
e) +, -, *, /
Answer: c. Explanation: Order of precedence is any operator in ( ) first, followed by * and / in a left-to-right manner, followed by + and – in a left-to-right manner. So, + is first since it is in ( ), followed by * followed by / since * is to the left of /, followed finally by -.