/* This code segment produces the output: 0 1 2 3 4 */
 for (i = 0; i < 10; i++) {
    if (i == 5)
       break;
    printf("%d ", i);
 }