Question: Write a function in C that concatenates strings from the command line/terminal. It takes char** as a parameter and returns a char*. It must take
Write a function in C that concatenates strings from the command line/terminal. It takes char** as a parameter and returns a char*.
It must take at least 3 input arguments (3 separate words).
if you typegcc stringConcat.c -o concat.cthen type./concat.out alohathen it should return a message saying to input at least 3 arguments.
if you type./concat.out C is the bestthen it should returnC is the best.
You may only use stdlib and stdio
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
