I think you can't predict no. of process are created by the end of 12th sec.
because of the pid, assume the very first time (i.e after 1 sec) you got getpid() as 0
than
if( will be ture) {
// then it will create a process, which pid may or may not be even value.
}
If the value is not even then the
if( false ) {
// and hence it won't do any more fork(). or vice verse.
}