Computer Applications
Given: int m=5; m*=5 then the value stored in m results in 55.
Java Operators
3 Likes
Answer
False
Reason — In the given expression, int m = 5; m *= 5;, the *= operator is an assignment operator that multiplies the value of m by 5 and then assigns the result back to m. So, m *= 5 is equivalent to m = m * 5. Initially, m is 5, and after the operation, the value of m will be 25, not 55.
Answered By
2 Likes