Why does bananas get printed twice?
int main(void) {
    printf("Mangoes\n");
    int r = fork();
    printf("Apples\n");
    if (r == 0) {
        sleep(1);
        printf("Oranges\n");
        int k = fork();
        if (k >= 0) {
            printf("Bananas\n");
        }
    }
}