单项选择题

下列选项,不正确的是

A.for(int a=1;a<=10;a++);
B.int a=1; do } a++; }while(a<=10)
C.int a=1; while(a<=10) } a++ }
D.for(int a=1;a<=10;a++) a++;