Only The Child Loops

#include <stdio.h>
#include <unistd.h>

int main(void) {
    for (int i = 0; i < 3; i++) {
        if (fork() > 0)
            break;
    }
    printf("%d\n", (int) getpid());
    return 0;
}

How many lines does this program print in total, and how are the resulting processes related?

A

3 lines, because the original process breaks out before reaching the printf

B

4 lines, and the four processes form a chain: each new process is the child of the one created just before it

C

4 lines, but the three new processes are all children of the original process

D

8 lines, one per process, in a balanced tree three levels deep