单项选择题

有以下程序 main() {int Y=10; while(Y--);printf("Y=%d\n",Y); } 程序执行后的输出结果是【 】。

A.Y=0
B.Y=-1
C.Y=1
D.while构成无限循环