Question 1
printf("%d", 20 % 7);
Show solution
20 = 2×7 + 6 → 6
Question 2
printf("%d", 3 * 4 % 5);
Show solution
3×4 = 12, 12%5 = 2 (× and % have equal precedence, left to right)
Question 3
printf("%d", 8 >> 2);
Show solution
right shift by 2 = 8/4 → 2