In this C program, data is not being shared between process i.e. parent and child process. child has it\'s own data and parent has it\'s own data but pointer is showing the
fork creates exact copy of the parent process memory image (exception see in man page). This is called Copy On Write(COW) fork. Upto time child only read data, both parent and child have same copy of data but when child write, a new copy is generated and then both child and parent have different copyies for their own data