p=(r++%7) + (--m%5) + k*(++k-8)
k=2,m=4,r=5
please solve it.........
Answers
Answered by
2
Output:
-2
Explanation:
> p = (r++ % 7) + (--m % 5) + k * (++k - 8)
> p = (5 % 7) + (3 % 5) + 2 * + (3 - 8)
> p = (5) + (3) + 2 * (-5)
> p = 8 - 10
> p = -2
Answered by
0
Answer:
The value stored in variable p is -2
Attachments:
Similar questions