问题 单项选择题

有以下程序  #include(stdio.h>  main()  {int a=l;b=2;  for(;a<8;a++) {b+=a;a+=2;}  printf("%d,%d\n",a,b);  }  程序运行后的输出结果是

A.9,18

B.8,11

C.7,11

D.10,14

答案

参考答案:D

填空题
选择题