Domanda di colloquio di HP Inc.

Make an array in C++, then write an algorithm to check if the array is a palindrome