Question: Design a program using ordinary pipes in which one process sends a string message to a second process and the second process reverses the case
Design a program using ordinary pipes in which one process sends a string message to a second process and the second process reverses the case of each character in the message and sends it back to the first process. For example if the first process sends the message Hi There the second process will returm hI tHERE. This will require using two pipes, one for sending the original message from the first to the second process and the other for sending the modified message from the second to the first process.
You can write this program using UNIX and C language.
The output should look like this:
Parent sent: Hi There
Child read: Hi There
Parent received: hI tHERE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
