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

有如下程序:
#include <stdio.h>
main()
{
int i,data;
scanf("%d",&data);
for(i=0;i<5; i++)
{
if(i>data)break;
printf("%d,",i);
}
printf("\n");
}
程序运行时,从键盘输入:3<回车>后,程序输出结果为______。

A.3,4,
B.0,1,
C.3,4,5,
D.0,1,2,3,