Operating Systems Write a C program to get two integer values entered at command line as arguments to main. The main pro
Posted: Fri Jul 08, 2022 6:44 am
Operating Systems
Write a C program to get two integer values entered at commandline as arguments to main. The main program must create a child sothat it can communicate to it. Main program must calculate the sumof the two numbers and send it to the child using a pipe. Childmust print the value to the monitor. Main must wait for the childto complete this task and then display the message that main isdone as well.
Write a C program to get two integer values entered at commandline as arguments to main. The main program must create a child sothat it can communicate to it. Main program must calculate the sumof the two numbers and send it to the child using a pipe. Childmust print the value to the monitor. Main must wait for the childto complete this task and then display the message that main isdone as well.