Question: C Language Write a function called reverse() with this prototype: void reverse(char dest[], char source[], int size); Your function should copy all the elementsin the
C Language
Write a function called reverse() with this prototype:
void reverse(char dest[], char source[], int size);
Your function should copy all the elementsin the array source into the array dest, except in reverse order. The number of elements in the source array is give in the parameter size. Use a for loop to do the copying. Assume that dest is large enough to hold all of the elements. Please be thorough with commenting.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
