printf("%d ",n);
The result after execution is-1.
This is because when n is 1, it is judged that the condition is met (N is 0 after judgment) and the loop is continued (empty statement is executed); When judging again, it is judged that the condition is not met (after judging, n is-1), so exit the loop and print-1.