0
14kviews
Which operator has lowest priority?

A) ++
B) %
C) +
D) | |

1 Answer
1
2.2kviews

Operator precedence determines the grouping of terms in an expression and decides how an expression is evaluated. Certain operators have higher precedence than others.

The correct answer is D) | |

A) ++ - This operator falls under the category of Postfix and has the highest priority.

B) % - This operator falls under the category of Multiplicative and has the third highest priority.

C) + - This operator falls under the category of Unary and has the second highest priority.

D) | | - This operator falls under the category of Logical OR and has the lowest priority as compared to all the above-mentioned operators.

Please log in to add an answer.