Write a C/C++ program (call it string_invert) that takes a string argument from
ID: 3608719 • Letter: W
Question
Write a C/C++ program (call it string_invert) that takes astring argument from the command line and outputs the string inreversed order. Here comes
the twist: Each process can output at most one character. If youwant to output more than a
single character, you must fork off one or more processes in orderto do that, and each of the
forked processes in turn outputs a single character. After the callto program string_invert
with the command line argument, the output should appear, and nomore processes should
be running, in addition to the shell. Test your program on anyUNIX/LINUX machine, and
turn in the source code as part of the written assignment. (Thesource code should be at
most a few lines long.)