Describe how a parent and child process communicates each other.The inter communication between a child process and a parent process can be done through normal communication schemes such as pipes, sockets, message queues, shared memories. There are special ways to inter communicate which has advantage of the relationships.
One of the most obvious advantages is that the exit status of the child process can be obtained by the parent process.
By communicating with unnamed pipes, the creation on pipe should be done before the creation of child. This process is called forking. Soon after forking, the parent properties will be inherited by child, also the pipe. The communication between parent and child is done with this pipe.