找考题网-背景图
单项选择题

有以下程序
  #include
  main()
  {int a=1,b=2;
  while(a<6){b+=a;a+=2;b%二10;}
  printf(”%d,%d\n”,a,b);
  }
  程序运行后的输出结果是()

A.5,11
B.7,1
C.7,11
D.6,1

热门试题