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
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
