The body adds 5+4+3+2=14; the last comparison tests 2>2 and decrements x to 1.
Programming in C MCQ - Find the Output
The body sees 25,12,6,3; remainders 1+0+2+3=6. The final division leaves x=1.
Saved in this browser. Nothing changes for anyone else.