fork() and child processes

Hello,

How many child processes are actually created when running this code ?

#include <signal.h>
#include <stdio.h>

int main () {
   int i ;
   setpgrp () ;
   for (i = 0; i < 10; i++) {
      if (fork () == 0) {
	 if ( i & 1 ) setpgrp () ;
	 printf ("Child id: %2d, group: %2d\n", getpid(), getpgrp()) ;
	 sleep (60) ;
	 exit (0) ;
      }
   }
   kill (0, SIGINT) ;
   return 0 ;
}

duplicate post, closing thread.