/* A break causes an exit from only the innermost loop. */ #include int main(void) { int t, count; for (t=0; t<100; t++) { count = 1; for (; ;) { printf("%d ", count); count++; if (count == 10) break; } } return 0; }