单项选择题

在下述程序中,判断i>j共执行的次数是( )。 main() { int i=0,j=10,k=2,s=0; for(;;) { i+=k; if(i>j) {printf("%d",s);break;} s+=i; } }

A.4
B.7
C.5
D.6