-In unix Design a program using ordinary pipes in which one process sends a stri
ID: 3752017 • Letter: #
Question
-In unix
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 return hItHERE. 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 back to the first process.
Explanation / Answer
MessageWriter.c
MessageReaderandWriter.c
}
for(int k=0;k<strlen(strrev); k++){
printf("%c",strrev[i]);
}
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.