Given an array, print that array in reverse order.Method 1: By using C++ STLMethod 2. By taking a temp variable / Iterative method / Two Pointer approachMethod 3. By recursion