linked linked linkedin whatsapp remove
Feedback

System Programming Quiz System Programming

A pipe has been created, and fork() and exec() calls have been completed. What steps must be taken next in order to establish communication from the parent to the child?

The parent must create a new pipe
The parent must close pipe_fd[0], and the child must close pipe_fd[1]
The child must create a new pipe
The parent must close pipe_fd[1], and the child must close pipe_fd[0]

Answer:
The parent must close pipe_fd[0], and the child must close pipe_fd[1]

Note: This Question is unanswered, help us to find answer for this one