Computer Science, asked by bhoomiozha618, 11 days ago

what is operater precedence? class 8​

Answers

Answered by 2009sahibakhan
1

Answer:

please mark me as brainliest

In mathematics and computer programming, the order of operations (or operator precedence) is a collection of rules that reflect conventions about which procedures to perform first in order to evaluate a given mathematical expression.

Answered by sahu34909
0

Answer:

Operator precedence specifies the order of operations in expressions that contain more than one operator. Operator associativity specifies whether, in an expression that contains multiple operators with the same precedence, an operand is grouped with the one on its left or the one on its right.

Explanation:

Operator precedence specifies the manner in which operands are grouped with operators.

For example, 1 + 2 * 3 is treated as 1 + (2 * 3), whereas 1 * 2 + 3 is treated as (1 * 2) + 3 because the multiplication operator has a higher precedence than the addition operator.

Similar questions