Computer Science, asked by sathish2568, 6 months ago

i) What is the output of the following program segment: [2] [2]

int res = 2 + 3 % 5 – 10 * 4 + 6 – 1;

res %= 2;

System.out.println(res);​

Answers

Answered by akhiwaghtech
0

Answer:

0

Explanation:

zero is the output as there is no remainder left after devideing res by 2

Similar questions