Implement pipe concept in Inter Process Communication using C program

Algorithm: 1.      create the pipe and create the process. 2.      get the input in the main process and pass the output to the child process using pipe. 3.      perform the operation given in the child process and print the output. 4.      stop the program. Program: #include<stdio.h> #include<unistd.h> #include<string.h> int main() { int p1[2],p2[2],p3[2],p4[2]; int i,j=0,k=0,l=0; … Continue reading Implement pipe concept in Inter Process Communication using C program