Question: Most of the code is provided, please help me write the reverse function for the problem. Please write in C not C++ 1. Name this
1. Name this program reverse.c-This program prints all the command-line arguments last argument to the first, printing each word backwards). Two sample executions are shown below /a.out Crimson Tide Alabama UA ./a.out hello world dlrow olleh tuo.a/. AU amaba1A ediT nosmirC tuo.a/. (a character Your program must use a function to reverse the arguments. This function takes a single argument string) and modifies that character string. You can write the function signature for this function in either of the ways shown below (since the name of an array is also a pointer to the start of the array). void reverse (char *) void reverse (char1) Hint - the algorithm in zyBooks 5.8 for reversing an array of integers can also be used to reverse a word
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
