What is the result of evaluating the following expression? –32/6
Advertisements
प्रश्न
What is the result of evaluating the following expression?
–32/6
संख्यात्मक
Advertisements
उत्तर
Given expression:
–32/6
\[ =-\frac{32}{6} \]
= –5.3333
Since both operands are integers, Java performs integer division and discards the fractional part.
–5
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
