单项选择题

下列程序的输出结果是______。
main()
int x,y;
for(x=1,y=1;x<=10;x++)
if(y>=5)break;
if(y%3==1)
y+=3;
continue;

y-=5;
printf("%d\n",x);

A.2
B.3
C.4
D.5