Which of the following operators has the highest precedence?

  • A+ (plus)
  • B- minus
  • C* (multiplication)
  • DNone of these
Show answerHide answer

Correct answer C

In programming and mathematics, operator precedence determines the order in which operations are performed. Multiplication (*) has higher precedence. Example: 2 + 3 * 4 → First multiply → 3*4=12, then add → 2+12=14.