+2 votes
in Class 12 by kratos

Why does the expression 2 + 3*4 result in the value 14 and not the value 24?

1 Answer

+6 votes
by kratos
 
Best answer

Operator precedence rules make the expression to be interpreted as 2 + (34) hence the result is 14.

...