单选题

有以下程序段,n=2;while(n--);printf("%d",n);其中n为整型变量。运行结果为()。

A2

B10

C–1

D0

正确答案

来源:www.examk.com

答案解析