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
Os
Virtual Machines
A virtual machine (VM) is a virtual environment which functions as a virtual computer system with its own CPU, memory, network interface, and storage, created on a physical hardware system. VMs are isolated from the rest of the system, and multiple VMs can exist on a single piece of hardware, like a server. That means, … Continue reading Virtual Machines