The for loop initializes i=5, then checks ++i which makes i=6 (true, so loop runs), prints 6. Then i-=3 makes i=3. Check ++i: i=4 (true), prints 4. Then i-=3 makes i=1. Check ++i: i=2 (true), prints 2. Then i-=3 makes i=-1. Check ++i: i=0 (false), loop exits. Output: 6 4 2.