赞题库-背景图
单项选择题

有下列程序:
#include<stdio.h>
main()
{int a=-1,b=2;
for(;a++ && b--;)
printf("%d,%d,",a,b);
printf("%d,%d",a,b);
}
程序执行后的输出结果是______。

A.0,1,1,0,1,0
B.0,1,1,0
C.0,1,1,1
D.0,1,1,1,1,1