m=10, n=6;
m - = 9% + n + (++n/2 - --n);
Answers
Answered by
1
Answer:
We have,
int m = 10, n = 6.
Program:
m-= 9%++n + ++n/2;
Output:
4
Explanation:
m = 10 - [9%++n + ++n/2]
= 10 - [9%7 + 8/2]
= 10 - [2 + 4]
= 10 - 6
= 4.
Modulo operator(%) computes remainder.
Similar questions