An array is a collection of items stored at contiguous memory locations. In this code, you will see that how to reverse an array element in C. Given an array arr of size n.