Leetcode Problem Reverse An Array In C