# label.c -rw-r--r-- 195 bytes View raw
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdio.h>

int main() {
    int i = 0;

start:  // This is the label
    printf("%d\n", i);
    i++;
    if (i < 5) {
        goto start;  // Jump back to the label
    }
    return 0;
}