I need to create a program that allows user to define size of a char array in the main function. Then call a function createArray to create a user input char array. Then determine if the user entered char array is a Palindrome.
So far I have the following code, which allows user to enter a char array. However, I cannot figure out how to reverse it and determine if it is a palindrome. I believe I have also messed up with defining the char array because it only has scope in the function (not in main).