关于一个break后,语句跳转的问题。
#include<stdio.h>int main(void)
{
int x=15;
while(x>10&&x<50)
{
x++;
if(x/3)
{
x++;
break;
}
else
continue;
}
printf("%d\n",x);
return 0;
}
请问程序中break语句执行后,将跳转到哪里,好像是printf语句,如果是求解释。多谢了。
2012-02-17 20:32
2012-02-17 20:47
2012-02-17 21:22
2012-02-17 21:34
2012-02-17 21:41
2012-02-17 21:42
2012-02-17 22:25
2012-02-17 22:39


把这if改为while,其实多使用几遍就知道break是怎么用的了.


2012-02-18 09:07