单项选择题

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

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