Identify the operator that gets the highest precedence while evaluating the given expression: a + b % c * d - e
Advertisements
प्रश्न
Identify the operator that gets the highest precedence while evaluating the given expression:
a + b % c * d - e
पर्याय
+
%
-
*
MCQ
Advertisements
उत्तर
%
Explanation:
Modulus operator % has the highest precedence among the listed operators. This means the operation b%c will be evaluated first before any multiplication, addition, or subtraction.
shaalaa.com
Tokens
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
