单项选择题

A.for(;(x=getchar())!=’\n’;)
B.while(1){x++;}
C.for(i=10;;i++)
D.for(;;x+=1)