单项选择题

定义如下变量,int n=10;
则下列循环的输出结果是(  )。
  while(n>7)
  {
    n--;
  }
  printf("%d",n);
A、10
B、9
C、8
D、7

微信扫码免费搜题