[Asm] 纯文本查看 复制代码 #include "stdafx.h"
void fun()
{
bool watermark;
watermark =false;
bool ptr;
ptr = false;
for (int k = 0; k < 10; k++) {
if (k == 0) {
printf("11!\n");
if (!watermark) continue;//if true, mean that k continue to add one and defend the second for.
} else {
printf("22!\n");
if (!ptr)continue;//break;//no matter continue and break,the second for is not effective.
}
for (int i = 0; i < 3; i++) {
printf("33!\n");
}//second for
}//first for
}
int main(int argc, char* argv[])
{
fun();
printf("请留意33是否出现!\n");
return 0;
} |