Question: Write a C function that reverses the elements of an array in place. In other words, the last element must become the first, the second

Write a C function that reverses the elements of an array in place. In other words, the last element must become the first, the second from last mustbecome the second, and so on.The function must accept only one pointer value and return void.
Then, write the main function that calls this function, and prints the reversed array. The print statement should ONLY be in the main function.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!