#include #include #include main ( ) { int pid1,pid2,pid; pid=fork(); if( pid==0) { pid1=fork(); } printf("pid= %d ppid=%d\n", getpid(),getppid()); wait(NULL); wait(NULL); }