Computer Science, asked by NAVA98, 7 months ago

Which of the following operator has the highest precedence?
a) !
b) %
c) +
d) >

Answers

Answered by chavvaanuradha0
11

+ operator has the highest precedence

please make me brainliest

Answered by aditijaink283
0

Answer:

The correct answer to the given question is:

c) +

Explanation:

C operator precedence and associativity affect the grouping and evaluation of operands in expressions. Operator precedence is only meaningful if there are other operators with higher or lower precedence. Expressions with operators with higher precedence are evaluated first. Priority can also be described with the word "binding". Operators with higher precedence are said to have stricter bindings.

Expressions can contain multiple operators with the same precedence. When multiple of these operators appear in an expression, the evaluation is either right-to-left or left-to-right, depending on the associativity of the operators. The direction of evaluation does not affect the result of an expression containing more than one multiplication (*), addition (+), or bitwise operator (&, |, or ^) at the same level. The sequence of tasks is not defined by the language. The compiler can evaluate these expressions in any order as long as it guarantees a consistent result.

#SPJ3

Similar questions