#include #include #include int main() { pid_t pid; int i; for (i = 0; i<5; i++) { pid = fork(); if (pid > 0) { printf("Zombie #%d born\n", i + 1); } else { printf("Brains...\n"); exit(0); } } return 0; }