Reverse Array Problem Leetcode Solutions In C