One process, both writing and reading from the pipe

Here, we will learn how writing and reading from the pipe are done by a single process.