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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
