单项选择题

以下程序的输出结果是( )。
#include <stdio.h>
main()
int n=4;
while(n--) printf("%d ",--n);

A.2 0
B.3 1
C.3 2 1
D.2 1 0