题目内容

int main(void) { int a=1,b; for(b=1;b<=10;b++) { if(a>=8) break; if(a%2==1) { a+=5; continue; } a-=3; } printf("%d\n",b); return 0;} The output of the program is ( ).

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

查看答案
更多问题

Function definition cannot be nested.

You can output a string with "%c".

The called function can only be defined before the main() function.

Pointer variables can also point to a string.

答案查题题库