Write a Program to find process id and parent process id.
#include<stdio.h> main() { printf("hello process is %d of parent :%d\n",getpid(),getppid()); fork(); printf("child : %d of parent %d \n",getpid(),getppid()); fork(); printf("child : %d of parent: %d\n",getpid(),getppid()); }