exchanging data between processes once program has finished with connection is should be closed using close (the following program illustrates how pipe connections are usedthe output from this pipe example ismain startingcreating the pipe main setting up the process main starting the process main wait for response from the child process worker started now sleeping for second worker sending data via pipe worker closing worker end of connection hello