I\'m working on a program that takes a given number of inputs and gives a sorted output(ascending/descending) using the shared memory in C++ using the fork() system call. I